From 53b162961c0d5da88f44045f2dc182f871146782 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Jul 2023 17:24:11 +0200 Subject: Update liberror to version 1.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liberror/PKGBUILD | 19 +++++++------------ 1 file 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 } -- cgit v1.2.3-70-g09d2