diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-03 17:24:11 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-03 17:24:11 +0200 |
commit | 53b162961c0d5da88f44045f2dc182f871146782 (patch) | |
tree | 8de593925ab04b6ceae2cedd05a24cbbc9119d14 | |
parent | Update liberror-backtrace to version 1.0.0.1 (diff) | |
download | aur-packages-53b162961c0d5da88f44045f2dc182f871146782.tar.gz aur-packages-53b162961c0d5da88f44045f2dc182f871146782.tar.bz2 aur-packages-53b162961c0d5da88f44045f2dc182f871146782.tar.xz |
Update liberror to version 1.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | liberror/PKGBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/liberror/PKGBUILD b/liberror/PKGBUILD index 45a8422..9ec5877 100644 --- a/liberror/PKGBUILD +++ b/liberror/PKGBUILD @@ -1,29 +1,24 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> pkgname=liberror -pkgver=1.1 +pkgver=1.1.1 pkgrel=1 pkgdesc="Library for custom errors" arch=(i686 x86_64) -url="https://github.com/maandree/liberror" -license=('custom:ISC') +url="https://codeberg.org/maandree/liberror" +license=('ISC') depends=() checkdepends=() makedepends=() -source=(liberror-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) -sha256sums=(8603ed823a587f4f9af7d286e49dbd4d1f16cadda05853904a4f9e12c3967bfe) - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - printf '%s\n' 'CC = gcc' >> config.mk -} +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(3af9a50b44b086c37698b6df097edba29a9208aa36b28e38ae1b470e77348e27) build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" make PREFIX=/usr } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" make PREFIX=/usr DESTDIR="$pkgdir" install } |