From 2a5c3e84eb0f22f9472c8146c383fbe20660447b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 20 Dec 2016 23:48:39 +0100 Subject: Add libcolour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcolour/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libcolour/PKGBUILD (limited to 'libcolour/PKGBUILD') diff --git a/libcolour/PKGBUILD b/libcolour/PKGBUILD new file mode 100644 index 0000000..32c689a --- /dev/null +++ b/libcolour/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libcolour +pkgver=1.0 +pkgrel=1 +pkgdesc="A C colour space library" +arch=(i686 x86_64) +url="https://github.com/maandree/libcolour" +license=('GPL3') +depends=(glibc) +makedepends=(glibc make coreutils gcc 'texinfo>=4.11') +install=$pkgname.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(ee309bd965eeb3f44d2b67026af4b42b283bb9a991ea9ba617dded48ff7d8b46) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install N=: DESTDIR="$pkgdir" +} + -- cgit v1.2.3-70-g09d2