summaryrefslogtreecommitdiff
path: root/pcr/darcsver
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-13 17:03:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-09-13 17:03:49 -0300
commite1c3beb92ea646e59a3ee4d2eeea38e3dfe18b02 (patch)
tree78e22d106b310a67363677057059fb81d84de310 /pcr/darcsver
parentfd2e29c715953a8bf676cf386716f2ad2a9024df (diff)
parent49393bba118e095e2972523a26977e2b31e550ff (diff)
downloadabslibre-e1c3beb92ea646e59a3ee4d2eeea38e3dfe18b02.tar.gz
abslibre-e1c3beb92ea646e59a3ee4d2eeea38e3dfe18b02.tar.bz2
abslibre-e1c3beb92ea646e59a3ee4d2eeea38e3dfe18b02.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/darcsver')
-rw-r--r--pcr/darcsver/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/darcsver/PKGBUILD b/pcr/darcsver/PKGBUILD
new file mode 100644
index 000000000..e93250680
--- /dev/null
+++ b/pcr/darcsver/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=darcsver
+pkgver=1.7.4
+pkgrel=2
+pkgdesc="generate a version number from darcs history"
+arch=('any')
+url='http://allmydata.org/trac/darcsver'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-mock' 'python2-distribute')
+source=( http://pypi.python.org/packages/source/d/$pkgname/$pkgname-$pkgver.tar.gz )
+md5sums=('e38aecd1343ab8447888a479ab12cb59')
+
+build(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+
+ install -Dm644 darcsver.egg-info/PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}