summaryrefslogtreecommitdiff
path: root/community/openjpeg2/PKGBUILD
blob: 70d22140de19adeb18760957bceebd99c57b5d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}