[arch-commits] Commit in libbsd/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:22:28 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:22:28
  Author: felixonmars
Revision: 383843

archrelease: copy trunk to staging-x86_64

Added:
  libbsd/repos/staging-x86_64/
  libbsd/repos/staging-x86_64/PKGBUILD
    (from rev 383842, libbsd/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: libbsd/repos/staging-x86_64/PKGBUILD (from rev 383842, libbsd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:22:28 UTC (rev 383843)
@@ -0,0 +1,40 @@
+# 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.10.0
+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')
+options=('staticlibs')
+source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
+md5sums=('ead96d240d02faa5b921c0aa50c812b5'
+         '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
+}


More information about the arch-commits mailing list