aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-10 12:55:38 +0200
committerMattias Andrée <maandree@kth.se>2017-06-10 12:55:38 +0200
commit19a66cd656d5fcd8c419b821fcc7d2c8ba14fd3c (patch)
tree42da65bc9c1ec6ce02688723c80e62dedbdf688f
parentUpdate blind (diff)
downloadaur-packages-19a66cd656d5fcd8c419b821fcc7d2c8ba14fd3c.tar.gz
aur-packages-19a66cd656d5fcd8c419b821fcc7d2c8ba14fd3c.tar.bz2
aur-packages-19a66cd656d5fcd8c419b821fcc7d2c8ba14fd3c.tar.xz
Update libcolour
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libcolour/PKGBUILD14
-rw-r--r--libcolour/libcolour.install20
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
-}
-