[arch-commits] Commit in popt/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Jan 28 10:03:59 UTC 2022
Date: Friday, January 28, 2022 @ 10:03:58
Author: jelle
Revision: 435266
archrelease: copy trunk to testing-x86_64
Added:
popt/repos/testing-x86_64/
popt/repos/testing-x86_64/PKGBUILD
(from rev 435265, popt/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: popt/repos/testing-x86_64/PKGBUILD (from rev 435265, popt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-01-28 10:03:58 UTC (rev 435266)
@@ -0,0 +1,26 @@
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=popt
+pkgver=1.18
+pkgrel=3
+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=('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