1 # Contributor: Wes Brown <wesbrown18@gmail.com>
5 pkgdesc="This is a Python library for PE file support and investigation."
7 url="http://code.google.com/p/pefile/"
10 makedepends=('python2-distribute')
11 source=("http://pefile.googlecode.com/files/pefile-${pkgver//_/-}.tar.gz"
12 "https://reverse-engineering-scripts.googlecode.com/files/UserDB.TXT"
13 "http://research.pandasecurity.com/blogs/images/userdb.txt" )
14 md5sums=("c41988b09a9d68610387074f74d8523d"
15 "cabeb4d94f3588c46cce6d793e263c44"
16 "ff90392a3682a5e3fe5aa2cdde5c759e" )
19 cd "${srcdir}/pefile-${pkgver//_/-}"
20 python2 setup.py build
24 cd "${srcdir}/pefile-${pkgver//_/-}"
25 python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix="/usr"
26 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
28 cat userdb.txt UserDB.TXT > UserDB-concat.txt
29 install -Dm644 UserDB-concat.txt ${pkgdir}/usr/share/pefile/UserDB.TXT
32 # vim:set ts=2 sw=2 et: