summaryrefslogtreecommitdiff
path: root/~lukeshu/thingutils-git/PKGBUILD
blob: 3ed858edb546c21337df6c095335d8b7a0a573c7 (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=20141128
_gitver=30c42d2c3f6a9ce65e85363601abd1e469a32a2f
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')

depends=(
    'php' # urldecode
    'offlineimap' # offlineimap-runner
    'wdiff' # chardiff
    'acpi' # batterymon, tempmon
)
makedepends=('go')

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

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"
}