summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Williams2017-05-28 18:02:20 +1200
committerSamuel Williams2017-05-28 18:02:20 +1200
commitcdb6bf72002bd92c64b0879ecec25624ea4f524d (patch)
treea647fb8637c5ca16d9e18790efaec799a52d69f4
parente65f87e14dd6e8618cf90904c6e252587f5ac26b (diff)
downloadaur-cdb6bf72002bd92c64b0879ecec25624ea4f524d.tar.gz
Use official releases
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d7d54ecfcb..a9f9c15790e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vips
pkgdesc = A free image processing system
pkgver = 8.5.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jcupitt/libvips
arch = i686
arch = x86_64
@@ -13,11 +13,10 @@ pkgbase = vips
depends = openexr
depends = pango
depends = libexif
- depends = swig
optdepends = python2: vipsprofile
options = !libtool
- source = https://github.com/jcupitt/libvips/archive/v8.5.5.tar.gz
- sha256sums = e744a2c7d2060138369fa569baa7940fcd82c113fecc340e97bb92eb82b6104a
+ source = https://github.com/jcupitt/libvips/releases/download/v8.5.5/vips-8.5.5.tar.gz
+ sha256sums = 0891af4531d6f951a16ca6d03020b73796522d5fcf7c6247f2f04c896ecded28
pkgname = vips
diff --git a/PKGBUILD b/PKGBUILD
index d3382816e87..f493c4629b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,22 @@
# Contributor: Michel Brabants <michel.linux@tiscali.be>
pkgname=vips
pkgver=8.5.5
-pkgrel=1
+pkgrel=2
pkgdesc="A free image processing system"
arch=('i686' 'x86_64')
license=('LGPL')
url="https://github.com/jcupitt/libvips"
-depends=('libxml2' 'fftw' 'imagemagick' 'orc' 'openexr' 'pango' 'libexif' 'swig')
+depends=('libxml2' 'fftw' 'imagemagick' 'orc' 'openexr' 'pango' 'libexif')
optdepends=('python2: vipsprofile')
# less used depends: 'libwebp' 'cfitsio'
# optional makedepends: 'v4l-utils' 'python2'
# minimal depends: 'libxml2'
options=('!libtool')
-source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('e744a2c7d2060138369fa569baa7940fcd82c113fecc340e97bb92eb82b6104a')
+source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('0891af4531d6f951a16ca6d03020b73796522d5fcf7c6247f2f04c896ecded28')
build() {
- cd "$srcdir"/lib$pkgname-$pkgver
-
- ./autogen.sh
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
@@ -29,9 +27,10 @@ build() {
}
package() {
- cd "$srcdir"/lib$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
+
make DESTDIR="$pkgdir" install
- # fix vipsprofile
+ # fix vipsprofile - bug reported and can be removed by 8.6.0
sed -i 's|^#!.*python$|&2|' "$pkgdir/usr/bin/vipsprofile"
}