summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreric2012-02-07 08:10:45 +0000
committerJakob Gahde2016-09-26 11:27:18 +0200
commit14c05d9c546d595b19456f62d8a3202911b16a1b (patch)
treea7103870891acf4bf93b45658b23db49d0535203
parentfbff37f5b2f09eaa8b8aa35a57224efbdb0c94de (diff)
downloadaur-14c05d9c546d595b19456f62d8a3202911b16a1b.tar.gz
upgpkg: jasper 1.900.1-7
Rebuild to add signature, Clean up depends, Remove unzip makedepends git-svn-id: file:///srv/repos/svn-packages/svn@149363 eb2447ed-0c53-47e4-bac8-5bc4a241df78
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD44
2 files changed, 19 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 08ea0e58c11..3b2e8a82501 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,28 +3,20 @@
pkgbase = jasper
pkgdesc = A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard
pkgver = 1.900.1
- pkgrel = 6
+ pkgrel = 7
url = http://www.ece.uvic.ca/~mdadams/jasper/
arch = i686
arch = x86_64
license = custom:JasPer2.0
- makedepends = unzip
depends = libjpeg
depends = freeglut
- depends = libxi
depends = libxmu
- depends = mesa
options = !libtool
source = http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip
source = jpc_dec.c.patch
source = patch-libjasper-stepsizes-overflow.diff
source = jasper-1.900.1-CVE-2008-3520.patch
source = jasper-1.900.1-CVE-2008-3522.patch
- md5sums = a342b2b4495b3e1394e161eb5d85d754
- md5sums = 36de7128eea6f701c1e2e13ce5bd8d37
- md5sums = 24785d8eb3eea19eec7e77d59f3e6a25
- md5sums = 911bb13529483c093d12c15eed4e9243
- md5sums = ed441f30c4231f319d9ff77d86db2ef9
sha1sums = 9c5735f773922e580bf98c7c7dfda9bbed4c5191
sha1sums = c1a0176a15210c0af14d85e55ce566921957d780
sha1sums = f298566fef08c8a589d072582112cd51c72c3983
diff --git a/PKGBUILD b/PKGBUILD
index d1e026b1da2..28ef1323b5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,44 +1,36 @@
# $Id$
-# Contributor: Eric Belanger <eric@archlinux.org>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=jasper
pkgver=1.900.1
-pkgrel=6
+pkgrel=7
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
arch=('i686' 'x86_64')
url="http://www.ece.uvic.ca/~mdadams/jasper/"
license=('custom:JasPer2.0')
-depends=('libjpeg' 'freeglut' 'libxi' 'libxmu' 'mesa')
-makedepends=('unzip')
+depends=('libjpeg' 'freeglut' 'libxmu')
options=('!libtool')
source=(http://www.ece.uvic.ca/~mdadams/${pkgname}/software/${pkgname}-${pkgver}.zip jpc_dec.c.patch
patch-libjasper-stepsizes-overflow.diff jasper-1.900.1-CVE-2008-3520.patch
jasper-1.900.1-CVE-2008-3522.patch)
-md5sums=('a342b2b4495b3e1394e161eb5d85d754' '36de7128eea6f701c1e2e13ce5bd8d37'\
- '24785d8eb3eea19eec7e77d59f3e6a25' '911bb13529483c093d12c15eed4e9243'\
- 'ed441f30c4231f319d9ff77d86db2ef9')
-sha1sums=('9c5735f773922e580bf98c7c7dfda9bbed4c5191' 'c1a0176a15210c0af14d85e55ce566921957d780'\
- 'f298566fef08c8a589d072582112cd51c72c3983' '2483dba925670bf29f531d85d73c4e5ada513b01'\
- '0e7b6142cd9240ffb15a1ed7297c43c76fa09ee4')
+sha1sums=('9c5735f773922e580bf98c7c7dfda9bbed4c5191'
+ 'c1a0176a15210c0af14d85e55ce566921957d780'
+ 'f298566fef08c8a589d072582112cd51c72c3983'
+ '2483dba925670bf29f531d85d73c4e5ada513b01'
+ '0e7b6142cd9240ffb15a1ed7297c43c76fa09ee4')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 < "${srcdir}/jpc_dec.c.patch"
- patch -Np1 < "${srcdir}/patch-libjasper-stepsizes-overflow.diff"
- patch -Np1 < "${srcdir}/jasper-1.900.1-CVE-2008-3520.patch"
- patch -Np1 < "${srcdir}/jasper-1.900.1-CVE-2008-3522.patch"
-
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "${srcdir}/jpc_dec.c.patch"
+ patch -p1 -i "${srcdir}/patch-libjasper-stepsizes-overflow.diff"
+ patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3520.patch"
+ patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3522.patch"
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}