Date: Monday, November 18, 2019 @ 22:31:14
  Author: dvzrv
Revision: 530356

upgpkg: php-imagick 3.4.4-4

Updating maintainer info. Setting the PACKAGE_VERSION, as applications might 
require it (FS#64185).

Modified:
  php-imagick/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-18 22:24:06 UTC (rev 530355)
+++ PKGBUILD    2019-11-18 22:31:14 UTC (rev 530356)
@@ -1,9 +1,9 @@
-# Maintainer: David Runge <[email protected]>
+# Maintainer: David Runge <[email protected]>
 
 pkgname=php-imagick
 _name=imagick
 pkgver=3.4.4
-pkgrel=3
+pkgrel=4
 pkgdesc="PHP extension to create and modify images using the ImageMagick 
library"
 arch=('x86_64')
 url="https://github.com/mkoppanen/imagick";
@@ -17,6 +17,9 @@
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
   cd "$pkgname-$pkgver"
+  # setting package version: https://bugs.archlinux.org/task/64185
+  sed -e "s/@PACKAGE_VERSION@/${pkgver}/" \
+      -i php_imagick.h package.xml
   echo ";extension=${_name}" > "${_name}.ini"
   phpize
 }

Reply via email to