summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cfb570ed6ececbabeded73f357ceb469db7ab5c (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
# Maintainer: sasvari
pkgname="pubs"
pkgver=d7e25d0
pkgrel=1
pkgdesc="Your bibliography on the command line"
arch=(any)
url="https://github.com/pubs/pubs"
depends=("python")
makedepends=("git")
provides=("pubs")
source=("git+https://github.com/pubs/pubs.git")

pkgver() {
	cd "$srcdir/$pkgname"
	#git describe | sed 's/^v//; s/-/.r/; s/-/./'
	git rev-parse --short HEAD
}

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

package() {
	cd "$srcdir/$pkgname"
	python setup.py install --root="$pkgdir/" --prefix="/usr"
}
md5sums=('SKIP')