aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: dccf5a67b9c25b7831378299b7a7e3d1441155c9 (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.r16.2f7daed
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"
}