Date: Sunday, November 6, 2022 @ 10:20:15
Author: jelle
Revision: 460772
archrelease: copy trunk to testing-x86_64
Added:
popt/repos/testing-x86_64/
popt/repos/testing-x86_64/PKGBUILD
(from rev 460771, popt/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: popt/repos/testing-x86_64/PKGBUILD (from rev 460771,
popt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-11-06 10:20:15 UTC (rev 460772)
@@ -0,0 +1,26 @@
+# Contributor: Eric Bélanger <[email protected]>
+
+pkgname=popt
+pkgver=1.19
+pkgrel=1
+pkgdesc="A commandline option parser"
+arch=('x86_64')
+url="https://github.com/rpm-software-management/popt"
+license=('custom')
+depends=('glibc')
+options=('staticlibs' 'debug')
+source=(https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${pkgver}.tar.gz)
+sha256sums=('c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ # Avoid stripping issue
+ CFLAGS+=" -ffat-lto-objects" ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}