blob: 64fb4d29171fe52d3de7ed3d9c4efa28fde8fd66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
_pkgname=pgpdump
pkgname=(python-pgpdump python2-pgpdump)
pkgver=1.5
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')
source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
md5sums=('040a451c8e63de3e61fc5b66efa7fca5')
package_python-pgpdump() {
depends=('python')
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
package_python2-pgpdump() {
depends=('python2')
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
|