Date: Tuesday, March 10, 2020 @ 21:15:23 Author: anthraxx Revision: 593944
archrelease: copy trunk to community-any Added: python-filebytes/repos/community-any/PKGBUILD (from rev 593943, python-filebytes/trunk/PKGBUILD) Deleted: python-filebytes/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-10 21:15:19 UTC (rev 593943) +++ PKGBUILD 2020-03-10 21:15:23 UTC (rev 593944) @@ -1,28 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-filebytes -_pyname=${pkgname/python-/} -pkgver=0.10.0 -pkgrel=1 -pkgdesc='Library to read and edit executable binary files' -url='https://github.com/sashs/filebytes' -arch=('any') -license=('GPL2') -depends=('python') -makedepends=('python-setuptools') -source=(https://github.com/sashs/filebytes/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('7895ddd166ac13813076441074245c8e577f45e45a76725e51f896a904966575b2cb63f2e3615a7acc2d0395a6081c490cd2540c9d3f8a36ac347eb58335b8d3') - -build() { - cd ${_pyname}-${pkgver} - python setup.py build -} - -package() { - cd ${_pyname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples" -} - -# vim: ts=2 sw=2 et: Copied: python-filebytes/repos/community-any/PKGBUILD (from rev 593943, python-filebytes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-10 21:15:23 UTC (rev 593944) @@ -0,0 +1,30 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-filebytes +_pyname=${pkgname/python-/} +pkgver=0.10.2 +pkgrel=1 +pkgdesc='Library to read and edit executable binary files' +url='https://github.com/sashs/filebytes' +arch=('any') +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +source=(https://github.com/sashs/filebytes/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564') +b2sums=('6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666') + +build() { + cd ${_pyname}-${pkgver} + python setup.py build +} + +package() { + cd ${_pyname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples" +} + +# vim: ts=2 sw=2 et: