diff options
Diffstat (limited to '')
-rw-r--r-- | libcolour/PKGBUILD | 14 | ||||
-rw-r--r-- | libcolour/libcolour.install | 20 |
2 files changed, 6 insertions, 28 deletions
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 -} - |