Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 1016 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
_pkgname=archinfo
pkgname=python-${_pkgname}
pkgver=8.19.2.4
pkgrel=1
pkgdesc=""
url="https://pypi.python.org/pypi/archinfo"
depends=('python' 'python-future')
makedepends=('python-setuptools')
license=('custom')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/angr/archinfo/master/LICENSE")
sha512sums=('0c5a0a9c35629da799317e8c0aa1f6646971b8a172e13f3f568bed39eec5e92dd14f39c58c05b1851971f1ba63d32dd9a9bd8f756555da3e5a076f64c671485e'
'8a94d011bb35da762d22d68505e8a58b250aa31e77b99ed0671de6f010d935087b7ee04e06ca47f61062309323f140448ff42e913a23e64f5c69d2c988c5f340')
build() {
cd archinfo-${pkgver}
python setup.py build
}
package() {
cd archinfo-${pkgver}
python setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}