From 18fd7c9db074279ab5d962eaa57ad7fd22170ef0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 14 Apr 2019 14:59:22 +0200 Subject: Add liberror and liberror-backtrace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liberror/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 liberror/PKGBUILD (limited to 'liberror/PKGBUILD') diff --git a/liberror/PKGBUILD b/liberror/PKGBUILD new file mode 100644 index 0000000..64fea3b --- /dev/null +++ b/liberror/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=liberror +pkgver=1.0 +pkgrel=1 +pkgdesc="Library for custom errors" +arch=(i686 x86_64) +url="https://github.com/maandree/liberror" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=(liberror-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(57d8541770d3d8f99afbd181086e1b97286d68353f08823ef3ea35df03cd6796) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} -- cgit v1.2.3-70-g09d2