Browse Source

initial transfer

master
artoo 9 months ago
parent
commit
ba7f4c0b64
2 changed files with 80 additions and 0 deletions
  1. 40
    0
      libbsd/repos/extra-x86_64/PKGBUILD
  2. 40
    0
      libbsd/trunk/PKGBUILD

+ 40
- 0
libbsd/repos/extra-x86_64/PKGBUILD View File

@@ -0,0 +1,40 @@
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

pkgname=libbsd
pkgver=0.9.1
pkgrel=1
pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()'
arch=('x86_64')
url="http://libbsd.freedesktop.org"
license=('custom')
depends=('glibc')
options=('staticlibs')
source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
md5sums=('a74b80c4143afa032c90226a4518fffe'
'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
}

+ 40
- 0
libbsd/trunk/PKGBUILD View File

@@ -0,0 +1,40 @@
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

pkgname=libbsd
pkgver=0.9.1
pkgrel=1
pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()'
arch=('x86_64')
url="http://libbsd.freedesktop.org"
license=('custom')
depends=('glibc')
options=('staticlibs')
source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
md5sums=('a74b80c4143afa032c90226a4518fffe'
'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
}

Loading…
Cancel
Save