diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-13 21:17:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-13 21:17:41 +0200 |
commit | cdc4a30eca84bc818ef9354795b0dec157d497df (patch) | |
tree | 504c2bafe6663c3b1c51ac26792ed4a1115cf33d /libclut | |
parent | Update libhaiku (diff) | |
download | aur-packages-cdc4a30eca84bc818ef9354795b0dec157d497df.tar.gz aur-packages-cdc4a30eca84bc818ef9354795b0dec157d497df.tar.bz2 aur-packages-cdc4a30eca84bc818ef9354795b0dec157d497df.tar.xz |
Add libclut
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libclut/PKGBUILD | 28 | ||||
-rw-r--r-- | libclut/libclut.install | 20 | ||||
l--------- | libclut/upload | 1 |
3 files changed, 49 insertions, 0 deletions
diff --git a/libclut/PKGBUILD b/libclut/PKGBUILD new file mode 100644 index 0000000..4758ee2 --- /dev/null +++ b/libclut/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libclut +pkgver=0.1 +pkgrel=1 +pkgdesc="C library for manipulating colour lookup tables" +arch=(i686 x86_64) +url="https://github.com/maandree/libclut" +license=('GPL3') +depends=(glibc) +makedepends=(glibc make coreutils gcc 'texinfo>=4.11') +install=$pkgname.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(c8658b52272f6225ce842bfc880929be1728d0f83b003d5650108167942e8d4c) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install N=: DESTDIR="$pkgdir" +} + diff --git a/libclut/libclut.install b/libclut/libclut.install new file mode 100644 index 0000000..d81e53f --- /dev/null +++ b/libclut/libclut.install @@ -0,0 +1,20 @@ +_file="libclut" + +infodir="usr/share/info" +file="${_file}.info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + diff --git a/libclut/upload b/libclut/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libclut/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |