diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bacc42d8438c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-bunch + pkgdesc = A dot-accessible dictionary (a la JavaScript objects) + pkgver = 1.0.1 + pkgrel = 3 + url = http://pypi.python.org/pypi/bunch/ + arch = any + license = MIT + depends = python2 + source = http://pypi.python.org/packages/source/b/bunch/bunch-1.0.1.tar.gz + md5sums = 0a829d64e95ed96defbcae2bf9061bb0 + +pkgname = python2-bunch + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e64dafe3533c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: nickray <nicolas dot stalder at gmail dot com> + +pkgname=python2-bunch +pkgver=1.0.1 +pkgrel=3 +pkgdesc='A dot-accessible dictionary (a la JavaScript objects)' +arch=(any) +url="http://pypi.python.org/pypi/bunch/" +license=(MIT) +depends=(python2) +source=(http://pypi.python.org/packages/source/b/bunch/bunch-$pkgver.tar.gz) +md5sums=('0a829d64e95ed96defbcae2bf9061bb0') + +package() { + cd bunch-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |