# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-pefile _pkgname=pefile pkgver=2016.3.28 pkgrel=0 pkgdesc="Python PE parsing module" url="https://github.com/erocarrera/pefile" arch="noarch" license="MIT" depends="py-future" makedepends="python-dev py-setuptools" install="" subpackages="" source="https://github.com/erocarrera/$_pkgname/files/192316/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } md5sums="2f3259fa2b5cf48a3fdc5422a58f854f pefile-2016.3.28.tar.gz" sha256sums="f24021085b5c3ef7b0898bb1f1d93eecd3839e03512769e22b0c5a10d9095f7b pefile-2016.3.28.tar.gz" sha512sums="f27918634507fd839b3bc71677b57676f1b2e46c43970dba158b1b4cb4202344de41fef53fffd294dd70f89b1a52aec0124e835a410ff7f0bec9b11ece425201 pefile-2016.3.28.tar.gz"