[arch-commits] Commit in php-igbinary/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Jul 26 20:40:02 UTC 2021
Date: Monday, July 26, 2021 @ 20:40:02
Author: dvzrv
Revision: 985905
archrelease: copy trunk to community-x86_64
Added:
php-igbinary/repos/community-x86_64/PKGBUILD
(from rev 985904, php-igbinary/trunk/PKGBUILD)
Deleted:
php-igbinary/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 164 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-26 20:39:48 UTC (rev 985904)
+++ PKGBUILD 2021-07-26 20:40:02 UTC (rev 985905)
@@ -1,82 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=igbinary
-pkgbase=php-igbinary
-pkgname=('php-igbinary' 'php7-igbinary')
-pkgver=3.2.3
-pkgrel=1
-pkgdesc="A drop in replacement for the standard php serializer"
-arch=('x86_64')
-url="https://github.com/igbinary/igbinary"
-license=('BSD')
-depends=('glibc')
-makedepends=('php7' 'php')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('13bafdb15ee2f9b3b5fea5ca27fef6207466243b42676abc35cc2877935846cc97633725c50665f799627a1bfd31980881da3261acf91d4503a30a5ab99e72cf')
-b2sums=('d3a19d6c6fd55d7baca9e5aa819f4a96ffe16a22c2db7e76e2b2b99946fa7e451ab1677dbc364fbdf223df25bc2069669d0f4b1f07fa89f0842d7dadad2682da')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgbase-$pkgver"
- # disable the extension by default
- sed 's/extension/;extension/g' -i "$pkgbase-$pkgver/${_name}.php.ini"
-
- cp -av "$pkgbase-$pkgver" "${pkgname[1]}-$pkgver"
- (
- cd "${pkgbase}-$pkgver"
- phpize
- )
- (
- cd "${pkgname[1]}-$pkgver"
- phpize7
- )
-}
-
-build() {
- (
- cd "$pkgbase-$pkgver"
- ./configure --prefix=/usr \
- --enable-igbinary
- make
- )
- (
- cd "${pkgname[1]}-$pkgver"
- ./configure --prefix=/usr \
- --enable-igbinary
- make
- )
-}
-
-check() {
- (
- cd "$pkgbase-$pkgver"
- NO_INTERACTION=1 make -k test
- )
- (
- cd "${pkgname[1]}-$pkgver"
- NO_INTERACTION=1 make -k test
- )
-}
-
-package_php-igbinary() {
- depends+=('php')
- backup=("etc/php/conf.d/${_name}.ini")
-
- cd "$pkgname-$pkgver"
- make INSTALL_ROOT="$pkgdir/" install
- install -vDm 644 "${_name}.php.ini" "${pkgdir}/etc/php/conf.d/${_name}.ini"
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {CREDITS,NEWS,README.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-package_php7-igbinary() {
- depends+=('php7')
- backup=("etc/php7/conf.d/${_name}.ini")
-
- cd "$pkgname-$pkgver"
- make INSTALL_ROOT="$pkgdir/" install
- install -vDm 644 "${_name}.php.ini" "${pkgdir}/etc/php7/conf.d/${_name}.ini"
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {CREDITS,NEWS,README.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: php-igbinary/repos/community-x86_64/PKGBUILD (from rev 985904, php-igbinary/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-26 20:40:02 UTC (rev 985905)
@@ -0,0 +1,82 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=igbinary
+pkgbase=php-igbinary
+pkgname=('php-igbinary' 'php7-igbinary')
+pkgver=3.2.4
+pkgrel=1
+pkgdesc="A drop in replacement for the standard php serializer"
+arch=('x86_64')
+url="https://github.com/igbinary/igbinary"
+license=('BSD')
+depends=('glibc')
+makedepends=('php7' 'php')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('0f1d482f4615f8ec9b269d74e48f6b74b0e276b237a190e40ffc643afd6129d9e01be3375864e6e0be1b9666a75ca0e2a6a2dbf571384bfdffe497316168da78')
+b2sums=('f52f01ace2c24b9bc0c64b3421609ff390e10c1825e09b2bc7a294e902975988e4e9c658e87404f496d63701fc98c7aa2626ce3bb88871f429d7cda6b96092b9')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgbase-$pkgver"
+ # disable the extension by default
+ sed 's/extension/;extension/g' -i "$pkgbase-$pkgver/${_name}.php.ini"
+
+ cp -av "$pkgbase-$pkgver" "${pkgname[1]}-$pkgver"
+ (
+ cd "${pkgbase}-$pkgver"
+ phpize
+ )
+ (
+ cd "${pkgname[1]}-$pkgver"
+ phpize7
+ )
+}
+
+build() {
+ (
+ cd "$pkgbase-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-igbinary
+ make
+ )
+ (
+ cd "${pkgname[1]}-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-igbinary
+ make
+ )
+}
+
+check() {
+ (
+ cd "$pkgbase-$pkgver"
+ NO_INTERACTION=1 make -k test
+ )
+ (
+ cd "${pkgname[1]}-$pkgver"
+ NO_INTERACTION=1 make -k test
+ )
+}
+
+package_php-igbinary() {
+ depends+=('php')
+ backup=("etc/php/conf.d/${_name}.ini")
+
+ cd "$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir/" install
+ install -vDm 644 "${_name}.php.ini" "${pkgdir}/etc/php/conf.d/${_name}.ini"
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {CREDITS,NEWS,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_php7-igbinary() {
+ depends+=('php7')
+ backup=("etc/php7/conf.d/${_name}.ini")
+
+ cd "$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir/" install
+ install -vDm 644 "${_name}.php.ini" "${pkgdir}/etc/php7/conf.d/${_name}.ini"
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {CREDITS,NEWS,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list