summaryrefslogtreecommitdiff
path: root/~lukeshu/thingutils-git/PKGBUILD
blob: 5ae2f13554f96d79e33716f24346b9ebc67c995e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

_pkgname=thingutils
pkgname=$_pkgname-git

pkgver=20150427
_gitver=49a8f558596d2a287793e12ebac60c026f608df1
pkgdesc="Miscellaneous utilities by Luke Shumaker"
url="https://lukeshu.com/git/thingutils.git"
license=('MIT')

provides=($_pkgname)
conflicts=($_pkgname)

pkgrel=1
arch=('i686' 'x86_64')

optdepends=(
    'php: for urldecode'
    'offlineimap: for offlineimap-runner'
    'wdiff: for chardiff'
    'acpi: for batterymon or tempmon'
)
makedepends=('go')

source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('cf4e1471a8fbdf2dab0445deef3879b9')

mkdepends=('git')
mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#commit=$_gitver")
mkmd5sums=('SKIP')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix=/usr
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install prefix=/usr DESTDIR="$pkgdir"
}