summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30fd1dc7873927f143acc263effc6d61dbd22859 (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
# Maintainer: Matthias gatto <uso.cosmo.ray at gmail dot com>
# Reference: PKGBUILD(5)

pkgname=whatami-git
pkgver=r16.160ac54
pkgrel=1
pkgdesc='Get ready for some painful insults...'

arch=('any')
url='https://github.com/kz6fittycent/whatami'

license=(MIT)

pkgver() {
  cd "${srcdir}/whatami"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

makedepends=('python-setuptools')
depends=()

source=("git://github.com/kz6fittycent/whatami.git")
sha256sums=("SKIP")

build() {
        cd "${srcdir}/whatami"
        python ./setup.py build
}

package() {
        cd "${srcdir}/whatami"
        python  ./setup.py install --root="$pkgdir" --optimize=1 --skip-build
}