diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-13 10:49:01 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-13 10:49:01 -0300 |
commit | 49393bba118e095e2972523a26977e2b31e550ff (patch) | |
tree | 4a6769d8ccc0eb45d83f149e269aa91a54e7a93f /pcr/darcsver/PKGBUILD | |
parent | 23c93a8bc3b2e79b3438f12ca03a3ef28a44fcbb (diff) | |
download | abslibre-49393bba118e095e2972523a26977e2b31e550ff.tar.gz abslibre-49393bba118e095e2972523a26977e2b31e550ff.tar.bz2 abslibre-49393bba118e095e2972523a26977e2b31e550ff.zip |
Tahoe LAFS
Diffstat (limited to 'pcr/darcsver/PKGBUILD')
-rw-r--r-- | pcr/darcsver/PKGBUILD | 26 |
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 +} |