summaryrefslogtreecommitdiff
path: root/extra/prison/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/prison/PKGBUILD')
-rw-r--r--extra/prison/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/prison/PKGBUILD b/extra/prison/PKGBUILD
index 793db4535..7552fa8dc 100644
--- a/extra/prison/PKGBUILD
+++ b/extra/prison/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 133482 2011-07-28 15:01:26Z andrea $
+# $Id: PKGBUILD 178975 2013-03-01 10:22:55Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=prison
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
arch=('i686' 'x86_64')
-url="http://www.kde.org"
+url='https://projects.kde.org/projects/kdesupport/prison'
license=('GPL')
-depends=('qt' 'libdmtx' 'qrencode')
+depends=('qt4' 'libdmtx' 'qrencode')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.gz")
md5sums=('8baac61506e37a31482a0df4a5d02cd2')
build() {
- cd "${srcdir}"
+ . /etc/profile.d/qt4.sh
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -24,6 +25,6 @@ build() {
}
package() {
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
}