[arch-commits] Commit in php-geoip/repos (2 files)

Pierre Schmitz pierre at archlinux.org
Sat Dec 8 12:29:58 UTC 2018


    Date: Saturday, December 8, 2018 @ 12:29:57
  Author: pierre
Revision: 412286

archrelease: copy trunk to community-staging-x86_64

Added:
  php-geoip/repos/community-staging-x86_64/
  php-geoip/repos/community-staging-x86_64/PKGBUILD
    (from rev 412285, php-geoip/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: php-geoip/repos/community-staging-x86_64/PKGBUILD (from rev 412285, php-geoip/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-12-08 12:29:57 UTC (rev 412286)
@@ -0,0 +1,32 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=php-geoip
+pkgver=1.1.1
+pkgrel=4
+pkgdesc="GeoIP module for PHP"
+arch=('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