blob: 059a3c9ee39102aec20e72451c8df45d2714be6d (
plain) (
tree)
|
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=libred
pkgver=1.0.2
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=(libred-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(f7be84c62b6774bd05cbe56509469f5f1ecdafd6c8d0825399a249ac186ec35b)
build() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|