Date: Monday, December 4, 2017 @ 19:20:59
  Author: arojas
Revision: 311610

rebuild with libmagick6

Modified:
  dvdauthor/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-12-04 18:44:00 UTC (rev 311609)
+++ PKGBUILD    2017-12-04 19:20:59 UTC (rev 311610)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Giovanni Scafora <[email protected]>
+# Maintainer:
+# Contributor: Giovanni Scafora <[email protected]>
 # Contributor: Travis Willard <[email protected]>
 # Contributor: Jaroslaw Swierczynski <[email protected]>
 # Contributor: Nicolai Lissner <[email protected]>
@@ -6,19 +7,20 @@
 
 pkgname=dvdauthor
 pkgver=0.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="DVD authoring tools"
 arch=('x86_64')
 url="http://dvdauthor.sourceforge.net/";
 license=('GPL')
-depends=('libdvdread' 'imagemagick' 'libxml2' 'libpng' 'fribidi')
+depends=('libdvdread' 'libmagick6' 'libxml2' 'libpng' 'fribidi')
+makedepends=('imagemagick') # for the *-config wrappers
 options=('!makeflags')
 
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
 sha256sums=('3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7')
 
 build() {
-  cd "${srcdir}/${pkgname}"
-
+  cd ${pkgname}
+  PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig" \
   ./configure --prefix=/usr \
               --sysconfdir=/etc
   make
@@ -25,7 +27,7 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}"
+  cd ${pkgname}
 
   make DESTDIR="${pkgdir}" install
 }

Reply via email to