[arch-commits] Commit in php-geoip/repos (6 files)
Pierre Schmitz
pierre at archlinux.org
Sat Dec 3 08:28:06 UTC 2016
Date: Saturday, December 3, 2016 @ 08:28:05
Author: pierre
Revision: 197805
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
php-geoip/repos/community-staging-i686/
php-geoip/repos/community-staging-i686/PKGBUILD
(from rev 197804, php-geoip/trunk/PKGBUILD)
php-geoip/repos/community-staging-x86_64/
php-geoip/repos/community-staging-x86_64/PKGBUILD
(from rev 197804, php-geoip/trunk/PKGBUILD)
Deleted:
php-geoip/repos/staging-i686/
php-geoip/repos/staging-x86_64/
-----------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: php-geoip/repos/community-staging-i686/PKGBUILD (from rev 197804, php-geoip/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-03 08:28:05 UTC (rev 197805)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-geoip
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="GeoIP module for PHP"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/geoip"
+license=('PHP')
+depends=('php' 'geoip')
+makedepends=('subversion')
+backup=('etc/php/conf.d/geoip.ini')
+source=(https://pecl.php.net/get/geoip-$pkgver.tgz)
+sha256sums=('b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06')
+
+build() {
+ cd "$srcdir/geoip-$pkgver"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/geoip-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=geoip.so' >geoip.ini
+ install -Dm644 geoip.ini "$pkgdir/etc/php/conf.d/geoip.ini"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: php-geoip/repos/community-staging-x86_64/PKGBUILD (from rev 197804, php-geoip/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-03 08:28:05 UTC (rev 197805)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-geoip
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="GeoIP module for PHP"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/geoip"
+license=('PHP')
+depends=('php' 'geoip')
+makedepends=('subversion')
+backup=('etc/php/conf.d/geoip.ini')
+source=(https://pecl.php.net/get/geoip-$pkgver.tgz)
+sha256sums=('b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06')
+
+build() {
+ cd "$srcdir/geoip-$pkgver"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/geoip-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=geoip.so' >geoip.ini
+ install -Dm644 geoip.ini "$pkgdir/etc/php/conf.d/geoip.ini"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list