aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 0fa98f5a0327fee80fa16403fb48bba7aae87eea (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
pkgname=kittypack-git
pkgver=0.r20.b4b22b9
pkgrel=1

pkgdesc="A silly little tool to get info from archlinux.org/packages"
url="https://github.com/MrElendig/kittypack"
arch=('any')
license=('AGPL3')

depends=('python' 'python-requests' 'python-docopt' 'python-yaml')
makedepends=('git')

backup=('etc/kittypack.conf')

source=(git://github.com/MrElendig/kittypack.git)

sha256sums=('SKIP')

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

package() {
	cd kittypack
	python3 setup.py install --root="$pkgdir"
}