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

Antonio Rojas arojas at archlinux.org
Mon Dec 4 19:21:00 UTC 2017


    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 <giovanni at archlinux.org>
+# Maintainer:
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Travis Willard <travisw at wmpub.ca>
 # Contributor: Jaroslaw Swierczynski <swiergot at juvepoland.com>
 # Contributor: Nicolai Lissner <nlissne at linux01.gwdg.de>
@@ -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
 }



More information about the arch-commits mailing list