[arch-commits] Commit in popt/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Dec 24 10:26:23 UTC 2021
Date: Friday, December 24, 2021 @ 10:26:22
Author: jelle
Revision: 433028
archrelease: copy trunk to extra-x86_64
Added:
popt/repos/extra-x86_64/
popt/repos/extra-x86_64/PKGBUILD
(from rev 433027, popt/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: popt/repos/extra-x86_64/PKGBUILD (from rev 433027, popt/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2021-12-24 10:26:22 UTC (rev 433028)
@@ -0,0 +1,26 @@
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=popt
+pkgver=1.18
+pkgrel=2
+pkgdesc="A commandline option parser"
+arch=('x86_64')
+url="https://github.com/rpm-software-management/popt"
+license=('custom')
+depends=('glibc')
+options=('staticlibs')
+source=(https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${pkgver}.tar.gz)
+sha256sums=('5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1')
+
+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
+}
More information about the arch-commits
mailing list