Date: Thursday, June 25, 2020 @ 18:13:36 Author: jelle Revision: 390445
archrelease: copy trunk to testing-x86_64 Added: popt/repos/testing-x86_64/ popt/repos/testing-x86_64/PKGBUILD (from rev 390444, popt/trunk/PKGBUILD) ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Copied: popt/repos/testing-x86_64/PKGBUILD (from rev 390444, popt/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-06-25 18:13:36 UTC (rev 390445) @@ -0,0 +1,26 @@ +# Contributor: Eric BĂ©langer <e...@archlinux.org> + +pkgname=popt +pkgver=1.16 +pkgrel=13 +pkgdesc="A commandline option parser" +arch=('x86_64') +url="http://rpm5.org" +license=('custom') +depends=('glibc') +options=('staticlibs') +#source=(http://rpm5.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz) +source=("${pkgname}-${pkgver}.tar.gz::https://deb.debian.org/debian/pool/main/p/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz") +sha1sums=('cfe94a15a2404db85858a81ff8de27c8ff3e235e') + +build() { + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}