From 5d0d7c8991f241d266b1504666dee13a715dcb73 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 2 Apr 2021 17:36:12 +0200 Subject: Add libsimple MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsimple/PKGBUILD | 31 +++++++++++++++++++++++++++++++ libsimple/upload | 1 + 2 files changed, 32 insertions(+) create mode 100644 libsimple/PKGBUILD create mode 120000 libsimple/upload diff --git a/libsimple/PKGBUILD b/libsimple/PKGBUILD new file mode 100644 index 0000000..2c43eed --- /dev/null +++ b/libsimple/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libsimple +pkgver=1.2 +pkgrel=1 +pkgdesc="A bunch of C functions that are useful when writing simple code" +arch=(i686 x86_64) +url="https://github.com/maandree/libsimple" +license=('custom:ISC') +depends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(f98143f218d98f2beb0bd110e1d0210d412db3b5ffe554a32fad4311d4776c58) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install PREFIX=/usr DESTDIR="$pkgdir" +} diff --git a/libsimple/upload b/libsimple/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libsimple/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2