Date: Thursday, August 28, 2014 @ 13:18:51 Author: pierre Revision: 118020
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 118019, php-geoip/trunk/PKGBUILD) php-geoip/repos/community-staging-x86_64/ php-geoip/repos/community-staging-x86_64/PKGBUILD (from rev 118019, php-geoip/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: php-geoip/repos/community-staging-i686/PKGBUILD (from rev 118019, php-geoip/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-08-28 11:18:51 UTC (rev 118020) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> + +pkgname=php-geoip +pkgver=1.0.8 +pkgrel=4 +pkgdesc="GeoIP module for PHP" +arch=('i686' 'x86_64') +url="http://pecl.php.net/package/geoip" +license=('PHP') +depends=('php' 'geoip') +backup=('etc/php/conf.d/geoip.ini') +source=(http://pecl.php.net/get/geoip-$pkgver.tgz) +sha256sums=('08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a') + +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 118019, php-geoip/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-08-28 11:18:51 UTC (rev 118020) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> + +pkgname=php-geoip +pkgver=1.0.8 +pkgrel=4 +pkgdesc="GeoIP module for PHP" +arch=('i686' 'x86_64') +url="http://pecl.php.net/package/geoip" +license=('PHP') +depends=('php' 'geoip') +backup=('etc/php/conf.d/geoip.ini') +source=(http://pecl.php.net/get/geoip-$pkgver.tgz) +sha256sums=('08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a') + +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: