aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libclut/PKGBUILD21
-rw-r--r--libclut/libclut.install20
-rw-r--r--libred/PKGBUILD2
3 files changed, 10 insertions, 33 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
-}
-
diff --git a/libred/PKGBUILD b/libred/PKGBUILD
index a111ef4..7729d87 100644
--- a/libred/PKGBUILD
+++ b/libred/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/maandree/libred"
license=('ISC')
depends=()
makedepends=(sed)
-source=($url/archive/$pkgver.tar.gz)
+source=(libred-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(1a176a88e9c21ef507401b1da6ea05f4b73872e8eda8022e97e119afaa1192cc)