aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-02 17:36:12 +0200
committerMattias Andrée <maandree@kth.se>2021-04-02 17:36:12 +0200
commit5d0d7c8991f241d266b1504666dee13a715dcb73 (patch)
tree57ebc4fdf08ad13dbc310f6d87fbde02f99d907d
parentUpdate mongoclock and mongotimer (diff)
downloadaur-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/PKGBUILD31
l---------libsimple/upload1
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