summaryrefslogtreecommitdiff
path: root/extra/prison/PKGBUILD
blob: 793db4535e08a1d3bdc3af76eca64d88c094d036 (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
27
28
29
# $Id: PKGBUILD 133482 2011-07-28 15:01:26Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=prison
pkgver=1.0
pkgrel=1
pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
arch=('i686' 'x86_64')
url="http://www.kde.org"
license=('GPL')
depends=('qt' 'libdmtx' 'qrencode')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.gz")
md5sums=('8baac61506e37a31482a0df4a5d02cd2')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}