From f0dc865cc4d144d335eed91793d7713ff51e6dea Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Jun 2023 18:29:51 +0200 Subject: Update libar2simplified to version 1.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libar2simplified/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/libar2simplified/PKGBUILD b/libar2simplified/PKGBUILD index 168b66a..c5d6516 100644 --- a/libar2simplified/PKGBUILD +++ b/libar2simplified/PKGBUILD @@ -2,21 +2,26 @@ pkgbase=libar2simplified pkgname=($pkgbase $pkgbase-doc $pkgbase-musl) -pkgver=1.1.1 +pkgver=1.1.2 pkgrel=1 _pkgdesc="Facade for libar2" pkgdesc="${_pkgdesc}" arch=(i686 x86_64) -url="https://github.com/maandree/libar2simplified" +url="https://codeberg.org/maandree/libar2simplified" license=('custom:ISC') depends=() checkdepends=(libar2 libar2-musl) _compiler=gcc makedepends=(libar2 libar2-musl ${_compiler}) source=($pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) -sha256sums=(05ea3f8f751f6efcb5f2717c683b10d926aac54f2254c0920c2ed7ce3b44be18) +sha256sums=(22ab4baaae33561c7777068624e312c9334b02dad42daed3236aec4fb4d14115) -build() { +prepare () { + cd -- "$srcdir" + mv -- "$pkgbase" "$pkgbase-$pkgver" +} + +build () { cd -- "$srcdir" cp -r -- "$pkgbase-$pkgver" "$pkgbase-$pkgver-musl" cd -- "$pkgbase-$pkgver" @@ -25,14 +30,14 @@ build() { make PREFIX=/usr/lib/musl CC="musl-${_compiler} -std=c11" } -check() { +check () { cd -- "$srcdir/$pkgbase-$pkgver" make check cd -- "../$pkgbase-$pkgver-musl" make CC="musl-${_compiler} -std=c11" check } -package_libar2simplified() { +package_libar2simplified () { pkgdesc="${_pkgdesc}" depends=(libar2) @@ -41,7 +46,7 @@ package_libar2simplified() { rm -r -- "${pkgdir}/usr/share" } -package_libar2simplified-doc() { +package_libar2simplified-doc () { pkgdesc="${_pkgdesc} (documentation)" cd -- "$srcdir/$pkgbase-$pkgver" @@ -50,7 +55,7 @@ package_libar2simplified-doc() { rm -r -- "${pkgdir}/usr/include" } -package_libar2simplified-musl() { +package_libar2simplified-musl () { pkgdesc="${_pkgdesc} (musl version)" depends=(libar2-musl) -- cgit v1.2.3-70-g09d2