[arch-commits] Commit in php-imagick/repos/community-x86_64 (4 files)

David Runge dvzrv at gemini.archlinux.org
Thu Jan 13 21:54:15 UTC 2022


    Date: Thursday, January 13, 2022 @ 21:54:15
  Author: dvzrv
Revision: 1102970

archrelease: copy trunk to community-x86_64

Added:
  php-imagick/repos/community-x86_64/PKGBUILD
    (from rev 1102969, php-imagick/trunk/PKGBUILD)
  php-imagick/repos/community-x86_64/imagick.ini
    (from rev 1102969, php-imagick/trunk/imagick.ini)
Deleted:
  php-imagick/repos/community-x86_64/PKGBUILD
  php-imagick/repos/community-x86_64/imagick.ini

-------------+
 PKGBUILD    |  177 ++++++++++++++++++++++++++++------------------------------
 imagick.ini |    8 +-
 2 files changed, 91 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-13 21:54:04 UTC (rev 1102969)
+++ PKGBUILD	2022-01-13 21:54:15 UTC (rev 1102970)
@@ -1,90 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=imagick
-pkgbase=php-imagick
-pkgname=('php-imagick' 'php7-imagick')
-pkgver=3.5.1
-pkgrel=1
-pkgdesc="PHP extension to create and modify images using the ImageMagick library"
-arch=('x86_64')
-url="https://github.com/imagick/imagick"
-license=('PHP')
-depends=('imagemagick' 'ttf-font')
-makedepends=('librsvg' 'php' 'php7')
-checkdepends=('ttf-dejavu')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}/archive/refs/tags/${pkgver}.tar.gz"
-        "${_name}.ini")
-sha512sums=('8ef4b4a253deb80909c34ae87ba7783a295e93c5033f95ecae56e6ebf7ef7be8deb8e1bfecfa9f3dcb9ba26ee95ef49a0d69418af96fd7cd01d5316f63bdc2cd'
-            '1463505bd6b2572e21f6bbc242c2e0bf8b881b839ac38e38c230f09b4bf4c4698cafba1a026da8f615ee2b2980ab74dc68284afd70bb732db6fb70b5efba2bfc')
-b2sums=('d2ad6d3e1568d5769d2b3ba8f77af2e7d82b04bb65535b9901846602b8dcee3954a8451ffd5c2c86590f35dc209eb9301e8ea75a28ddf7c989cf41a104f04656'
-        '291d68f50a2c173b857c0f132e1874f0682da3c7176f67b946a19a68256ab19f56a234bafa16711c3f8ef26c4bc7df04ea8afdecbcb984820b9bf3fd2a135edb')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgbase}-${pkgver}"
-  # setting package version: https://bugs.archlinux.org/task/64185
-  sed -e "s/@PACKAGE_VERSION@/${pkgver}/" \
-      -i "${pkgbase}-${pkgver}/php_imagick.h" "${pkgbase}-${pkgver}/package.xml"
-
-  cp -av "${pkgbase}-${pkgver}" "${pkgname[1]}-${pkgver}"
-  (
-    cd "$pkgname-${pkgver}"
-    phpize
-  )
-  (
-    cd "${pkgname[1]}-${pkgver}"
-    phpize7
-  )
-}
-
-build() {
-  (
-    cd "${pkgbase}-${pkgver}"
-    ./configure --prefix=/usr
-    make
-  )
-  (
-    cd "${pkgname[1]}-${pkgver}"
-    ./configure --prefix=/usr
-    make
-  )
-}
-
-check() {
-  (
-    cd "${pkgbase}-${pkgver}"
-    export NO_INTERACTION="true"
-    make -k test
-  )
-  (
-    cd "${pkgname[1]}-${pkgver}"
-    export NO_INTERACTION="true"
-    make -k test
-  )
-}
-
-package_php-imagick() {
-  depends+=('php')
-  backup=("etc/php/conf.d/${_name}.ini")
-
-  cd "${pkgname}-${pkgver}"
-  make INSTALL_ROOT="$pkgdir/" install
-  ls -lah ..
-  install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
-  install -vDm 644 {ChangeLog,CREDITS,README.md} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 examples/*.php \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-}
-
-package_php7-imagick() {
-  depends+=('php7')
-  backup=("etc/php7/conf.d/${_name}.ini")
-
-  cd "${pkgname}-${pkgver}"
-  make INSTALL_ROOT="$pkgdir/" install
-  install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php7/conf.d/"
-  install -vDm 644 {ChangeLog,CREDITS,README.md} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 examples/*.php \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-}

Copied: php-imagick/repos/community-x86_64/PKGBUILD (from rev 1102969, php-imagick/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-13 21:54:15 UTC (rev 1102970)
@@ -0,0 +1,87 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=imagick
+pkgbase=php-imagick
+pkgname=('php-imagick' 'php7-imagick')
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="PHP extension to create and modify images using the ImageMagick library"
+arch=(x86_64)
+url="https://github.com/imagick/imagick"
+license=(PHP)
+depends=(imagemagick ttf-font)
+makedepends=(librsvg php php7)
+checkdepends=(ttf-dejavu)
+source=(
+  "${pkgbase}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}/archive/refs/tags/${pkgver}.tar.gz"
+  "${_name}.ini"
+)
+sha512sums=('67cf7e76ee59dcf2fbb6230956344033022ea2b93f82fcdb949998638ce9990004948fddf13e7f4649b2115ce6f402a1eb4f95aa36a3b6a26f3f016b0e958bc3'
+            '1463505bd6b2572e21f6bbc242c2e0bf8b881b839ac38e38c230f09b4bf4c4698cafba1a026da8f615ee2b2980ab74dc68284afd70bb732db6fb70b5efba2bfc')
+b2sums=('3f8b94ca0619edee15de9aaf21ad3bf2896a072223b1eed70bfc8e47ef36fa766f370e801ae6b4300840a76e71d926b36cdbe7459df75804362ab4079eb2f56c'
+        '291d68f50a2c173b857c0f132e1874f0682da3c7176f67b946a19a68256ab19f56a234bafa16711c3f8ef26c4bc7df04ea8afdecbcb984820b9bf3fd2a135edb')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgbase}-${pkgver}"
+  # setting package version: https://bugs.archlinux.org/task/64185
+  sed -e "s/@PACKAGE_VERSION@/${pkgver}/" \
+      -i "${pkgbase}-${pkgver}/php_imagick.h" "${pkgbase}-${pkgver}/package.xml"
+
+  cp -av "${pkgbase}-${pkgver}" "${pkgname[1]}-${pkgver}"
+  (
+    cd "$pkgname-${pkgver}"
+    phpize
+  )
+  (
+    cd "${pkgname[1]}-${pkgver}"
+    phpize7
+  )
+}
+
+build() {
+  (
+    cd "${pkgbase}-${pkgver}"
+    ./configure --prefix=/usr
+    make
+  )
+  (
+    cd "${pkgname[1]}-${pkgver}"
+    ./configure --prefix=/usr
+    make
+  )
+}
+
+check() {
+  (
+    cd "${pkgbase}-${pkgver}"
+    export NO_INTERACTION="true"
+    make -k test
+  )
+  (
+    cd "${pkgname[1]}-${pkgver}"
+    export NO_INTERACTION="true"
+    make -k test
+  )
+}
+
+package_php-imagick() {
+  depends+=(php)
+  backup=("etc/php/conf.d/${_name}.ini")
+
+  cd "${pkgname}-${pkgver}"
+  make INSTALL_ROOT="$pkgdir/" install
+  install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php/conf.d/"
+  install -vDm 644 {ChangeLog,CREDITS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 examples/*.php -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}
+
+package_php7-imagick() {
+  depends+=(php7)
+  backup=("etc/php7/conf.d/${_name}.ini")
+
+  cd "${pkgname}-${pkgver}"
+  make INSTALL_ROOT="$pkgdir/" install
+  install -vDm 644 "../${_name}.ini" -t "${pkgdir}/etc/php7/conf.d/"
+  install -vDm 644 {ChangeLog,CREDITS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 examples/*.php -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}

Deleted: imagick.ini
===================================================================
--- imagick.ini	2022-01-13 21:54:04 UTC (rev 1102969)
+++ imagick.ini	2022-01-13 21:54:15 UTC (rev 1102970)
@@ -1,4 +0,0 @@
-; extension = imagick
-; ; disable the (broken) version check, because packaging ensures that imagemagick and php-imagick are compatible
-; ; bug reports and out-of-date messages based on the below warning message will not be accepted
-; imagick.skip_version_check = 1

Copied: php-imagick/repos/community-x86_64/imagick.ini (from rev 1102969, php-imagick/trunk/imagick.ini)
===================================================================
--- imagick.ini	                        (rev 0)
+++ imagick.ini	2022-01-13 21:54:15 UTC (rev 1102970)
@@ -0,0 +1,4 @@
+; extension = imagick
+; ; disable the (broken) version check, because packaging ensures that imagemagick and php-imagick are compatible
+; ; bug reports and out-of-date messages based on the below warning message will not be accepted
+; imagick.skip_version_check = 1



More information about the arch-commits mailing list