diff options
Diffstat (limited to 'community/openjpeg2/PKGBUILD')
-rw-r--r-- | community/openjpeg2/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/openjpeg2/PKGBUILD b/community/openjpeg2/PKGBUILD new file mode 100644 index 000000000..70d22140d --- /dev/null +++ b/community/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.0.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://openjpeg.googlecode.com/files/openjpeg-${pkgver}.tar.gz) +sha1sums=('0af78ab2283b43421458f80373422d8029a9f7a7') + +build() { + cd "${srcdir}/openjpeg-${pkgver}" + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "${srcdir}/openjpeg-${pkgver}" + make DESTDIR="${pkgdir}" install +} |