summaryrefslogtreecommitdiff
path: root/community/openjpeg2/PKGBUILD
blob: 177a798b1151235d29f4dc4ebd5f401b41a2a2a1 (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
26
# $Id: PKGBUILD 99383 2013-10-28 09:50:41Z spupykin $
# 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')
options=('!libtool')
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
}