aboutsummaryrefslogtreecommitdiffstats
path: root/libcolour/PKGBUILD
blob: 70f0a1c0889dfe99b81f4303624d8f647367ab62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=libcolour
pkgver=2.0
pkgrel=1
pkgdesc="A C colour space library"
arch=(i686 x86_64)
url="https://github.com/maandree/libcolour"
license=('ISC')
depends=(glibc)
makedepends=(glibc make coreutils gcc)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(a113cca035cf1c0b34ce611b316ac0582368adf9100e964a592d58c0210e5602)


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


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