Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / libb2
Commits: ed1ce8f9 by Antonio Rojas at 2024-07-03T23:49:01+02:00 upgpkg: 0.98.1-3: Rebuild for missing .SRCINFO - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,14 @@ +pkgbase = libb2 + pkgdesc = C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions + pkgver = 0.98.1 + pkgrel = 3 + url = https://blake2.net/ + arch = x86_64 + license = CC0-1.0 + makedepends = git + depends = gcc-libs + depends = glibc + source = git+https://github.com/BLAKE2/libb2#tag=v0.98.1 + sha256sums = eb6b596bc30918427d1e792914f454c1d3e61fef3d4499f6605ede78f835cc1b + +pkgname = libb2 ===================================== PKGBUILD ===================================== @@ -4,32 +4,44 @@ pkgname=libb2 pkgver=0.98.1 -pkgrel=2 +pkgrel=3 arch=(x86_64) pkgdesc='C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions' url='https://blake2.net/' -license=(custom:CC0) -depends=(gcc-libs) -source=("https://github.com/BLAKE2/libb2/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('53626fddce753c454a3fea581cbbc7fe9bbcf0bc70416d48fdbbf5d87ef6c72e') +license=(CC0-1.0) +depends=(gcc-libs + glibc) +makedepends=(git) +source=(git+https://github.com/BLAKE2/libb2#tag=v$pkgver) +sha256sums=('eb6b596bc30918427d1e792914f454c1d3e61fef3d4499f6605ede78f835cc1b') # libb2's build system discards the $CFLAGS variable. # We can get around this by putting those flags in $CC. export CC="${CC-cc} $CFLAGS" +prepare() { + cd $pkgname + autoreconf -vi +} + build() { - cd "$pkgname-$pkgver" - ./configure --prefix=/usr --disable-static --enable-shared --disable-native --enable-fat + cd $pkgname + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-shared \ + --disable-native \ + --enable-fat make } check() { - cd $pkgname-$pkgver + cd $pkgname make check } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libb2/-/commit/ed1ce8f98b8f1c19777f204e47a43c96b49967e8 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libb2/-/commit/ed1ce8f98b8f1c19777f204e47a43c96b49967e8 You're receiving this email because of your account on gitlab.archlinux.org.
