summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThore Boedecker2016-01-15 00:24:41 +0100
committerThore Boedecker2016-01-15 00:24:41 +0100
commit22666be242e487ddff9b8c1b66b16f09d49f14a2 (patch)
tree4077a2cc01d6ba9cd9eaaac5094b60893263db1c
parentf241a5a64da5a5d2279d01182d90be0cf487ae60 (diff)
downloadaur-22666be242e487ddff9b8c1b66b16f09d49f14a2.tar.gz
bump pkgrel, add provides and show hint on install
Signed-off-by: Thore Boedecker <me@foxxx0.de>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
-rw-r--r--php56-geoip.install10
3 files changed, 18 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4ac110faf1..7dfdbc1a88d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
# Generated by mksrcinfo v8
-# Thu Jan 14 23:05:53 UTC 2016
+# Thu Jan 14 23:24:34 UTC 2016
pkgbase = php56-geoip
pkgdesc = GeoIP module for PHP
pkgver = 1.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://pecl.php.net/package/geoip
+ install = php56-geoip.install
arch = i686
arch = x86_64
license = PHP
depends = php56>=5.6.17-3
depends = geoip
+ provides = php-geoip=1.1.0-3
backup = etc/php56/conf.d/geoip.ini
source = https://pecl.php.net/get/geoip-1.1.0.tgz
md5sums = 1a779f7b3dd275e497846ce302b3776b
diff --git a/PKGBUILD b/PKGBUILD
index 571889f7f5d..a2bceb765c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,17 @@ pkgname=php56-geoip
_pkgbase="${pkgname#php56-}"
_phpbase="${pkgname/-geoip}"
pkgver=1.1.0
-pkgrel=2
-_svnrev=337409
+pkgrel=3
pkgdesc="GeoIP module for PHP"
arch=('i686' 'x86_64')
url="https://pecl.php.net/package/geoip"
license=('PHP')
+provides=("php-geoip=${pkgver}-${pkgrel}")
depends=('php56>=5.6.17-3' 'geoip')
backup=('etc/php56/conf.d/geoip.ini')
+install=php56-geoip.install
source=("https://pecl.php.net/get/geoip-${pkgver}.tgz")
+md5sums=('1a779f7b3dd275e497846ce302b3776b')
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
@@ -31,4 +33,3 @@ package() {
}
# vim:set ts=2 sw=2 et:
-md5sums=('1a779f7b3dd275e497846ce302b3776b')
diff --git a/php56-geoip.install b/php56-geoip.install
new file mode 100644
index 00000000000..c15f6a3cb53
--- /dev/null
+++ b/php56-geoip.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo '
+ ==> PHP extension
+
+ A config file was stored under /etc/php56/conf.d/. In order to use this
+ extension make sure to uncomment it from its config file.
+ '
+}
+
+# vim:set ts=2 sw=2 et: