From 637c1cfdcd258a870ad5367cbf47a8a2799039c7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 18 Apr 2012 00:01:47 +0000 Subject: Wed Apr 18 00:01:47 UTC 2012 --- extra/openjpeg/PKGBUILD | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'extra/openjpeg/PKGBUILD') 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 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" -- cgit v1.2.3-54-g00ecf