diff options
author | pozar | 2016-01-09 10:21:40 +0100 |
---|---|---|
committer | pozar | 2016-01-09 10:21:40 +0100 |
commit | c7417d59bbfc80861f8a8bc235798f1ff4ab6581 (patch) | |
tree | 6eebd817431d2ecee293a6a60f5dec76dc355a04 | |
download | aur-c7417d59bbfc80861f8a8bc235798f1ff4ab6581.tar.gz |
inital commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b9c4ab66438e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sat Jan 9 09:21:03 UTC 2016 +pkgbase = python-lunardate + pkgdesc = A Chinese Calendar Library in Pure Python + pkgver = 0.1.5 + pkgrel = 1 + url = https://pypi.python.org/pypi/lunardate + arch = any + license = GPLv3 + source = https://pypi.python.org/packages/source/l/lunardate/lunardate-0.1.5.tar.gz + md5sums = 7a7ca79f68ccea1d0981286ef9af1cc5 + +pkgname = python-lunardate + depends = python + +pkgname = python2-lunardate + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bca0b8fc9aa5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Lukasz Pozarlik <lpozarlik@gmail.com> + +pkgbase=python-lunardate +pkgname=('python-lunardate' + 'python2-lunardate') +pkgdesc="A Chinese Calendar Library in Pure Python" +pkgver=0.1.5 +pkgrel=1 +url="https://pypi.python.org/pypi/lunardate" +license=('GPLv3') +arch=('any') +source="https://pypi.python.org/packages/source/l/lunardate/lunardate-${pkgver}.tar.gz" +md5sums=('7a7ca79f68ccea1d0981286ef9af1cc5') + +package_python-lunardate(){ + depends=('python') + cd "${srcdir}/lunardate-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-lunardate(){ + depends=('python2') + cd "${srcdir}/lunardate-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} + |