diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-15 22:03:34 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-15 22:03:34 -0200 |
commit | af0617e9478512e64b1681d6e1da3baeb3f72216 (patch) | |
tree | 9861fb74dc5de2eac3edf9207e0a22791fa05c85 /libre/python-pgpdump/PKGBUILD | |
parent | af1438a26ac6cbdb10b9e780c1bc69c459963b78 (diff) | |
parent | 9e33443ecf9575280008587e78750259e0519335 (diff) | |
download | abslibre-af0617e9478512e64b1681d6e1da3baeb3f72216.tar.gz abslibre-af0617e9478512e64b1681d6e1da3baeb3f72216.tar.bz2 abslibre-af0617e9478512e64b1681d6e1da3baeb3f72216.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/python-pgpdump/PKGBUILD')
-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" +} |