summaryrefslogtreecommitdiffstats
path: root/abs/extra/openjpeg2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/openjpeg2/PKGBUILD')
-rw-r--r--abs/extra/openjpeg2/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/openjpeg2/PKGBUILD b/abs/extra/openjpeg2/PKGBUILD
new file mode 100644
index 0000000..974266d
--- /dev/null
+++ b/abs/extra/openjpeg2/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 99936 2013-10-31 02:34:11Z allan $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=openjpeg2
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="An open source JPEG 2000 codec, version ${pkgver}"
+arch=(i686 x86_64)
+license=('BSD')
+url="http://www.openjpeg.org"
+makedepends=('cmake')
+depends=('zlib')
+source=(http://downloads.sourceforge.net/project/openjpeg.mirror/$pkgver/openjpeg-$pkgver.tar.gz)
+md5sums=('f6419fcc233df84f9a81eb36633c6db6')
+
+build() {
+ cd "${srcdir}/openjpeg-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOC=on .
+ make
+}
+
+package() {
+ cd "${srcdir}/openjpeg-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}