diff options
author | Mattias Andrée <maandree@kth.se> | 2019-10-07 01:29:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-10-07 01:29:23 +0200 |
commit | c1ffa48dbee6041b219aa3c2688ba1e6f14ded15 (patch) | |
tree | cfc49c86765f60011efb6a575225430e134d976d /libred/PKGBUILD | |
parent | Add liberror and liberror-backtrace (diff) | |
download | aur-packages-c1ffa48dbee6041b219aa3c2688ba1e6f14ded15.tar.gz aur-packages-c1ffa48dbee6041b219aa3c2688ba1e6f14ded15.tar.bz2 aur-packages-c1ffa48dbee6041b219aa3c2688ba1e6f14ded15.tar.xz |
Add libred
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libred/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libred/PKGBUILD b/libred/PKGBUILD new file mode 100644 index 0000000..a111ef4 --- /dev/null +++ b/libred/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libred +pkgver=1.0 +pkgrel=1 +pkgdesc="Solar elevation and blackbody colour calculation library for C" +arch=(i686 x86_64) +url="https://github.com/maandree/libred" +license=('ISC') +depends=() +makedepends=(sed) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(1a176a88e9c21ef507401b1da6ea05f4b73872e8eda8022e97e119afaa1192cc) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install PREFIX=/usr DESTDIR="$pkgdir" +} + |