diff options
Diffstat (limited to 'libsimple')
-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 |