[arch-commits] Commit in sk1/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Dec 4 08:39:26 UTC 2017


    Date: Monday, December 4, 2017 @ 08:39:26
  Author: arojas
Revision: 272098

Rebuild with libmagick6

Modified:
  sk1/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-04 08:15:28 UTC (rev 272097)
+++ PKGBUILD	2017-12-04 08:39:26 UTC (rev 272098)
@@ -4,12 +4,13 @@
 
 pkgname=sk1
 pkgver=2.0rc2
-pkgrel=6
+pkgrel=1
+epoch=1
 pkgdesc="Fork of skencil with improved CMYK support"
 arch=(x86_64)
 url="http://sk1project.net/"
 depends=('zenity' 'python2-cairo' 'python2-lcms' 'python2-pillow'
-	 'imagemagick' 'python2-reportlab' 'wxpython')
+	 'libmagick6' 'python2-reportlab' 'wxpython')
 provides=('sk1sdk')
 license=('GPL' 'LGPL')
 source=("$pkgname-$pkgver.tar.gz::https://sk1project.net/dc3.php?version=$pkgver&target=sk1-$pkgver.tar.gz")
@@ -16,11 +17,12 @@
 sha256sums=('ee1f03e6705e2063d0a1f032e475b24868c68fc26410fb1f2a536d3541b88a67')
 
 build() {
-  cd "$srcdir"/sk1-${pkgver}
+  cd $pkgname-$pkgver
+  export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"
   python2 setup-sk1.py build
 }
 
 package() {
-  cd "$srcdir"/sk1-${pkgver}
+  cd $pkgname-$pkgver
   python2 setup-sk1.py install --root="$pkgdir"
 }



More information about the arch-commits mailing list