git » prison.git » commit f0df9f9

Update to latest git, needed by kdepim 16.08

author Antonio Rojas
2016-08-30 21:08:13 UTC
committer Antonio Rojas
2016-08-30 21:08:13 UTC
parent 0c44c7a4484945eac251f3ebbb82396261afefa8

Update to latest git, needed by kdepim 16.08

PKGBUILD +8 -6

diff --git a/PKGBUILD b/PKGBUILD
index d74356e..b784713 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=prison
-pkgver=1.2.2.20160705
-_commit=84724fa132b983266d8cd2b036d5a0f75a78ca46
+pkgver=5.25.0.git20160814
+_commit=f109d48
 pkgrel=1
 pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
 arch=('i686' 'x86_64')
@@ -12,11 +13,12 @@ license=('GPL')
 depends=('qt5-base' 'libdmtx' 'qrencode')
 makedepends=('extra-cmake-modules')
 conflicts=('prison-frameworks')
-source=("http://quickgit.kde.org/?p=prison.git&a=snapshot&h=041c75afe7c1667cbed78f216fc07667964ea7a0&fmt=tgz")
-md5sums=('245e7001131436237a9bfb7ebc03b7c4')
+replaces=('prison-frameworks')
+source=($pkname-$pkgver::"http://quickgit.kde.org/?p=prison.git&a=snapshot&h=${_commit}&fmt=tgz")
+md5sums=('d7f703b53801d88dc913eefb38a39326')
 
 prepare() {
-  mkdir build
+  mkdir -p build
 }
 
 build() {
@@ -31,5 +33,5 @@ build() {
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }