summaryrefslogtreecommitdiff
path: root/~lukeshu/thingutils-git/PKGBUILD
blob: 44dd3b07ab42665aebe36f2fae6c8f43207035df (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
42
43
44
45
46
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

_pkgname=thingutils
pkgname=$_pkgname-git

pkgver=20131203
_gitver=aa2d5a3a4363ff4f4ca23f4c6716613c4be66ecd
pkgdesc="Random shell utilities by Luke Shumaker"
url="https://gitorious.org/thingutils"
license=('MIT')

provides=($_pkgname)
conflicts=($_pkgname)
pkgrel=2
arch=('i686' 'x86_64' 'mips64el')

depends=(
    'php' # urldecode
    'bash' # daemon, newegg, sysfiles
    'emacs' # emacsmail, emacsterm, e
    'wget' # whatismyip
    'findutils' # maildups, whatismyip
    'sysstat' # sysfiles
    'offlineimap' # offlineimap-runner
    'wdiff' # chardiff
    'acpi' # batterymon, tempmon
)
makedepends=('go')

source=("https://repo.parabolagnulinux.org/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")

mkdepends=('git')
mksource=("$pkgname-$pkgver::git://gitorious.org/$_pkgname/$_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"
}

md5sums=('7991e689263698f3d9a6470184f97ed1')