diff options
author | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
commit | 73cd7952c96190212616ca90d5afe1ce5cb2c9ce (patch) | |
tree | 274972d0d967441e136af716dd87f3cee0cee7f2 /libre/python-pgpdump | |
parent | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (diff) |
Fri Nov 16 01:34:04 PST 2012
Diffstat (limited to 'libre/python-pgpdump')
-rw-r--r-- | libre/python-pgpdump/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/python-pgpdump/PKGBUILD b/libre/python-pgpdump/PKGBUILD new file mode 100644 index 000000000..e65f60dfa --- /dev/null +++ b/libre/python-pgpdump/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=pgpdump +pkgname=(python-pgpdump python2-pgpdump) +pkgver=1.4 +pkgdesc=" a Python library for parsing PGP packets" +url="https://github.com/toofishes/python-pgpdump" +license=('custom:BSD3') + +pkgrel=1 +arch=(any) +makedepends=(python python2) +provides=(python2-pgpdump) +source=(http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz) +md5sums=(b437c28ff9d6a6257a0062c0bbe2a9ec) + +package_python-pgpdump() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +package_python2-pgpdump() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |