diff options
Diffstat (limited to '')
-rw-r--r-- | libclut/PKGBUILD | 21 | ||||
-rw-r--r-- | libclut/libclut.install | 20 |
2 files changed, 9 insertions, 32 deletions
diff --git a/libclut/PKGBUILD b/libclut/PKGBUILD index 14ae5a9..27234ce 100644 --- a/libclut/PKGBUILD +++ b/libclut/PKGBUILD @@ -1,28 +1,25 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> pkgname=libclut -pkgver=1.1 +pkgver=1.2 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=(195e45742c49bb587d756726410dab80f2a5e4a8427f7bb4b318f8cda71f4cda) +license=('ISC') +depends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(efb1b8b81c16a329e676bc56b6b546086da096ec58ee76f6869f10bfa5954235) build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make + make PREFIX=/usr } package() { cd "$srcdir/$pkgname-$pkgver" - make install N=: DESTDIR="$pkgdir" + make install PREFIX=/usr DESTDIR="$pkgdir" } - diff --git a/libclut/libclut.install b/libclut/libclut.install deleted file mode 100644 index d81e53f..0000000 --- a/libclut/libclut.install +++ /dev/null @@ -1,20 +0,0 @@ -_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 -} - |