summaryrefslogtreecommitdiff
path: root/extra/openjpeg
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
commit637c1cfdcd258a870ad5367cbf47a8a2799039c7 (patch)
tree04dabe84f2527ce4ef85b0905f186ebb93cacdb9 /extra/openjpeg
parent0fb510ac9b1defac6c3d54a68eccd7e18635b474 (diff)
Wed Apr 18 00:01:47 UTC 2012
Diffstat (limited to 'extra/openjpeg')
-rw-r--r--extra/openjpeg/PKGBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/extra/openjpeg/PKGBUILD b/extra/openjpeg/PKGBUILD
index 6d8331004..7055c1972 100644
--- a/extra/openjpeg/PKGBUILD
+++ b/extra/openjpeg/PKGBUILD
@@ -1,35 +1,29 @@
-# $Id: PKGBUILD 137660 2011-09-10 10:58:56Z pierre $
+# $Id: PKGBUILD 156266 2012-04-16 14:12:28Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=openjpeg
-pkgver=1.4
-_pkgver=v1_4
-_revision=r697
+pkgver=1.5.0
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
arch=(i686 x86_64)
license=('BSD')
url="http://www.openjpeg.org"
depends=('zlib')
-source=(http://openjpeg.googlecode.com/files/openjpeg_${_pkgver}_sources_${_revision}.tgz
- openjpeg-1.4-autoconf.patch)
-md5sums=('7870bb84e810dec63fcf3b712ebb93db'
- '46d1d26b59ce546444f3fe8d7c685775')
-
-options=('!makeflags' '!libtool')
+options=('!libtool')
+source=(http://openjpeg.googlecode.com/files/openjpeg-${pkgver}.tar.gz)
+sha1sums=('dce705ae45f137e4698a8cf39d1fbf22bc434fa8')
build() {
- cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
- patch -Np1 -i ${srcdir}/openjpeg-1.4-autoconf.patch
+ cd "${srcdir}/${pkgname}-${pkgver}"
# make sure we use system libs
- rm -rf libs
+ rm -rf thirtparty
./configure --prefix=/usr \
- --disable-static
+ --disable-static --disable-silent-rules
make
}
package() {
- cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/openjpeg/LICENSE"