summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsasvari2017-07-05 15:14:27 +0200
committersasvari2017-07-05 15:14:27 +0200
commit5e28865ba2cceebb2a80b2ad3435795e0c857d83 (patch)
treefa88c9abc6dc60cb5ebdc61b99d5013243ca67c5 /PKGBUILD
downloadaur-5e28865ba2cceebb2a80b2ad3435795e0c857d83.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1cfb570ed6e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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')