diff options
author | ngld | 2015-06-14 00:27:11 +0200 |
---|---|---|
committer | ngld | 2015-06-14 00:27:11 +0200 |
commit | f5476e04a741a9ad096adb73c2e9b9a6d174d525 (patch) | |
tree | cc0d30002296fa9f0ef1ec0411c8b24374643baf /PKGBUILD | |
download | aur-f5476e04a741a9ad096adb73c2e9b9a6d174d525.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7cf717c2319e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: ngld <ngld@tproxy.de> +_pyname=semantic_version +pkgname=python-semantic-version +pkgver=2.4.1 +pkgrel=1 +pkgdesc="A library implementing the 'SemVer' scheme." +arch=('any') +url="https://github.com/rbarrois/python-semanticversion" +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-$pkgver.tar.gz") +sha256sums=('33018ab2807ba395c418b4633993a7572b8a4b3e924823f5828788023b3c9b30') + +package() { + cd "$srcdir/${_pyname}-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |