diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-02 17:36:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-02 17:36:12 +0200 |
commit | 5d0d7c8991f241d266b1504666dee13a715dcb73 (patch) | |
tree | 57ebc4fdf08ad13dbc310f6d87fbde02f99d907d | |
parent | Update mongoclock and mongotimer (diff) | |
download | aur-packages-5d0d7c8991f241d266b1504666dee13a715dcb73.tar.gz aur-packages-5d0d7c8991f241d266b1504666dee13a715dcb73.tar.bz2 aur-packages-5d0d7c8991f241d266b1504666dee13a715dcb73.tar.xz |
Add libsimple
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | libsimple/PKGBUILD | 31 | ||||
l--------- | libsimple/upload | 1 |
2 files changed, 32 insertions, 0 deletions
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 |