summaryrefslogtreecommitdiff
path: root/extra/openjpeg
diff options
context:
space:
mode:
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 0b30d5fc8..8e6838aff 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 'mips64el')
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"