aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: bbddac14c1a9685c6949f59d3a80818f0280937a (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.r15.cb4edf4
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"
}