From 19a66cd656d5fcd8c419b821fcc7d2c8ba14fd3c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 10 Jun 2017 12:55:38 +0200 Subject: Update libcolour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcolour/PKGBUILD | 14 ++++++-------- libcolour/libcolour.install | 20 -------------------- 2 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 libcolour/libcolour.install diff --git a/libcolour/PKGBUILD b/libcolour/PKGBUILD index 32c689a..70f0a1c 100644 --- a/libcolour/PKGBUILD +++ b/libcolour/PKGBUILD @@ -1,28 +1,26 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=libcolour -pkgver=1.0 +pkgver=2.0 pkgrel=1 pkgdesc="A C colour space library" arch=(i686 x86_64) url="https://github.com/maandree/libcolour" -license=('GPL3') +license=('ISC') depends=(glibc) -makedepends=(glibc make coreutils gcc 'texinfo>=4.11') -install=$pkgname.install +makedepends=(glibc make coreutils gcc) source=($url/archive/$pkgver.tar.gz) -sha256sums=(ee309bd965eeb3f44d2b67026af4b42b283bb9a991ea9ba617dded48ff7d8b46) +sha256sums=(a113cca035cf1c0b34ce611b316ac0582368adf9100e964a592d58c0210e5602) 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/libcolour/libcolour.install b/libcolour/libcolour.install deleted file mode 100644 index d5721d4..0000000 --- a/libcolour/libcolour.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="libcolour" - -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 -} - -- cgit v1.2.3-70-g09d2