summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD16
3 files changed, 19 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a328c81e595..0e09766984a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
pkgbase = php70-imagick
pkgdesc = PHP extension for IMagick
- pkgver = 3.4.3
+ pkgver = 3.4.4
pkgrel = 1
url = http://pecl.php.net/package/imagick
install = php-imagick.install
arch = i686
arch = x86_64
license = PHP
- depends = php70>=7.0.26-1
- depends = imagemagick>=6.2.4
- backup = etc/php/conf.d/imagick.ini
- source = http://pecl.php.net/get/imagick-3.4.3.tgz
- md5sums = d0ee25c007cd2a28cefccc0b9ee63a28
+ depends = php70
+ depends = imagemagick
+ backup = etc/php70/conf.d/imagick.ini
+ source = http://pecl.php.net/get/imagick-3.4.4.tgz
+ md5sums = 6d3a7048ab73b0fab931f28c484dbf76
pkgname = php70-imagick
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..40dc163eb1f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+php70*
+pkg/*
+src/*
+xdebug/*
+*.tar.*
+*.t?z \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index ece25c3a3f2..136642bf327 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,20 @@
-# Maintainer: Jérôme Groven <jerome.groven [at] gmail [dot] com>
-
+_phpbase=70
pkgname=php70-imagick
_extname=imagick
-pkgver=3.4.3
+pkgver=3.4.4
pkgrel=1
pkgdesc="PHP extension for IMagick"
arch=('i686' 'x86_64')
url="http://pecl.php.net/package/${_extname}"
license=('PHP')
-depends=('php70>=7.0.26-1' 'imagemagick>=6.2.4')
-backup=("etc/php/conf.d/${_extname}.ini")
+depends=("php${_phpbase}" 'imagemagick')
+backup=("etc/php${_phpbase}/conf.d/${_extname}.ini")
install="php-${_extname}.install"
source=("http://pecl.php.net/get/${_extname}-${pkgver}.tgz")
-md5sums=('d0ee25c007cd2a28cefccc0b9ee63a28')
build() {
cd "${_extname}-${pkgver}"
-
- phpize70
+ phpize${_phpbase}
./configure --prefix=/usr
make
}
@@ -27,5 +24,6 @@ package() {
make INSTALL_ROOT="${pkgdir}" install
echo "extension=${_extname}.so" > "${_extname}.ini"
- install -D -m644 "${_extname}.ini" "${pkgdir}/etc/php70/conf.d/${_extname}.ini"
+ install -D -m644 "${_extname}.ini" "${pkgdir}/etc/php${_phpbase}/conf.d/${_extname}.ini"
}
+md5sums=('6d3a7048ab73b0fab931f28c484dbf76')