aboutsummaryrefslogblamecommitdiffstats
path: root/libred/PKGBUILD
blob: f983dae6eb0390ca948e0cba8a4bad676ff5a542 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                
            






                                                                        
                                                           
                                                                             












                                            
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=libred
pkgver=1.0.1
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=(bb4bbd0c232582e60cf642c208a5bcff4fb84aad3363d6d11e3ed14b1f7c27b3)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install PREFIX=/usr DESTDIR="$pkgdir"
}