4 pkgdesc="Prison is a barcode api currently offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes, and can easily be made support more."
6 url="http://www.kde.org"
8 depends=('qt' 'libdmtx' 'qrencode')
9 makedepends=('git' 'cmake')
14 _gitroot="git://anongit.kde.org/prison"
20 msg "Connecting to the GIT server...."
22 if [[ -d $srcdir/$_gitname ]] ; then
25 msg "The local files are updated."
30 msg "GIT checkout done"
31 msg "Starting make..."
32 if [[ -d ${srcdir}/build ]]; then
33 msg "Cleaning the previous build directory..."
34 rm -rf ${srcdir}/build
38 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=debugfull \
39 -DCMAKE_INSTALL_PREFIX=/usr
45 make DESTDIR=${pkgdir} install