diff options
author | Mattias Andrée <maandree@kth.se> | 2019-10-07 16:09:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-10-07 16:09:07 +0200 |
commit | 6e2efb83a196452abc3ac9aae2772be691c3d677 (patch) | |
tree | f61866a8a7ceeedf7cc30ef7ffa86efca0013821 /libclut | |
parent | Add libred (diff) | |
download | aur-packages-6e2efb83a196452abc3ac9aae2772be691c3d677.tar.gz aur-packages-6e2efb83a196452abc3ac9aae2772be691c3d677.tar.bz2 aur-packages-6e2efb83a196452abc3ac9aae2772be691c3d677.tar.xz |
...
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libclut')
-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 -} - |