[arch-commits] Commit in libbsd/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Apr 24 11:26:27 UTC 2022
Date: Sunday, April 24, 2022 @ 11:26:27
Author: arojas
Revision: 443895
archrelease: copy trunk to extra-x86_64
Added:
libbsd/repos/extra-x86_64/PKGBUILD
(from rev 443894, libbsd/trunk/PKGBUILD)
Deleted:
libbsd/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-24 11:26:15 UTC (rev 443894)
+++ PKGBUILD 2022-04-24 11:26:27 UTC (rev 443895)
@@ -1,40 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
-
-pkgname=libbsd
-pkgver=0.11.6
-pkgrel=1
-pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()'
-arch=('x86_64')
-url="https://libbsd.freedesktop.org"
-license=('custom')
-depends=('glibc' 'libmd')
-options=('staticlibs')
-source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
-sha512sums=('9dbbfb84340fc69f59667241701d81d176439ce168f123344805898a269f7bd0e98abf8c7fc12d9bf539d1effb19424d93b647cc9120f693327e736d339e6075'
- 'SKIP')
-validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
- rm "${pkgdir}"/usr/lib/libbsd.a
- install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # included now in man-pages, FS#53351
- rm -f "${pkgdir}"/usr/share/man/man3/explicit_bzero.3
-}
Copied: libbsd/repos/extra-x86_64/PKGBUILD (from rev 443894, libbsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-24 11:26:27 UTC (rev 443895)
@@ -0,0 +1,41 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+
+pkgname=libbsd
+pkgver=0.11.6
+pkgrel=2
+pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()'
+arch=('x86_64')
+url="https://libbsd.freedesktop.org"
+license=('custom')
+depends=('glibc' 'libmd')
+options=('staticlibs')
+source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
+sha512sums=('9dbbfb84340fc69f59667241701d81d176439ce168f123344805898a269f7bd0e98abf8c7fc12d9bf539d1effb19424d93b647cc9120f693327e736d339e6075'
+ 'SKIP')
+validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ CFLAGS+=' -ffat-lto-objects' \
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm "${pkgdir}"/usr/lib/libbsd.a
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # included now in man-pages, FS#53351
+ rm -f "${pkgdir}"/usr/share/man/man3/explicit_bzero.3
+}
More information about the arch-commits
mailing list