summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2014-06-15 02:17:55 -0600
committerBrian Bidulock2016-05-23 22:25:33 -0600
commit52b6216e8b2075f2769ed7b35703ad1f81a4dc63 (patch)
tree89b9558b75dda4fb32fa55a7e99aa1909a4ffec6
parent0574883dfc1056190f42ae729add5eb3ce66ae6f (diff)
downloadaur-52b6216e8b2075f2769ed7b35703ad1f81a4dc63.tar.gz
version 1:1.6.0.r14.gb7f1bb3-1
-rw-r--r--.AURINFO17
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD34
3 files changed, 33 insertions, 32 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..33ada1b550e
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,17 @@
+pkgbase = geoip-git
+ pkgdesc = Non-DNS IP-to-country resolver C library & utils
+ pkgver = 1.6.0.r14.gb7f1bb3
+ pkgrel = 1
+ epoch = 1
+ url = http://www.maxmind.com/app/c
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = zlib
+ depends = geoip-database
+ provides = geoip
+ conflicts = geoip
+ source = geoip-git::git://github.com/maxmind/geoip-api-c.git
+
+pkgname = geoip-git
+
diff --git a/.SRCINFO b/.SRCINFO
index 27d6b18d3a6..79421464bb5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Tue May 24 04:25:30 UTC 2016
+# Tue May 24 04:25:32 UTC 2016
pkgbase = geoip-git
pkgdesc = Non-DNS IP-to-country resolver C library & utils
- pkgver = v1.4.8.119.gea0dc0f
+ pkgver = 1.6.0.r14.gb7f1bb3
pkgrel = 1
+ epoch = 1
url = http://www.maxmind.com/app/c
arch = i686
arch = x86_64
@@ -11,16 +12,9 @@ pkgbase = geoip-git
depends = zlib
depends = geoip-database
provides = geoip
- provides = geoip=1.5.2
conflicts = geoip
- replaces = geoip
- options = !libtool
- options = !emptydirs
- backup = etc/geoip/GeoIP.conf
- source = git://github.com/maxmind/geoip-api-c.git#branch=bz/pre-1.5.2
- source = 0001-Don-t-install-GeoIP.dat.-It-does-not-exist.patch
+ source = geoip-git::git://github.com/maxmind/geoip-api-c.git
sha256sums = SKIP
- sha256sums = 004984ce2b015acedec03a0fd54f309fa546903994dc7a0585471ff18c2bebc1
pkgname = geoip-git
diff --git a/PKGBUILD b/PKGBUILD
index 45778aa230d..e1337031222 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,27 @@
# Contributor: Yosef Or Boczko <yoseforb@gmail.com>
-_pkgname=geoip
-pkgname=$_pkgname-git
-pkgver=v1.4.8.119.gea0dc0f
+pkgname=geoip-git
+pkgver=1.6.0.r14.gb7f1bb3
pkgrel=1
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
+epoch=1
arch=('i686' 'x86_64')
url="http://www.maxmind.com/app/c"
license=('GPL')
depends=('zlib' 'geoip-database')
-backup=('etc/geoip/GeoIP.conf')
-options=('!libtool' '!emptydirs')
-source=('git://github.com/maxmind/geoip-api-c.git#branch=bz/pre-1.5.2'
- '0001-Don-t-install-GeoIP.dat.-It-does-not-exist.patch')
-sha256sums=('SKIP'
- '004984ce2b015acedec03a0fd54f309fa546903994dc7a0585471ff18c2bebc1')
+source=("$pkgname::git://github.com/maxmind/geoip-api-c.git")
+sha256sums=('SKIP')
conflicts=('geoip')
-replaces=('geoip')
-provides=('geoip' 'geoip=1.5.2')
+provides=('geoip')
- pkgver() {
- cd "$srcdir/geoip-api-c"
- git describe --always | sed 's/-/./g'
-}
-
-prepare() {
- cd "$srcdir/geoip-api-c"
- patch -Np1 -i "$srcdir/0001-Don-t-install-GeoIP.dat.-It-does-not-exist.patch"
+pkgver() {
+ cd $pkgname
+ git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
- cd "$srcdir/geoip-api-c"
- autoreconf -vi
+ cd $pkgname
+ autoreconf -fiv
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -41,6 +31,6 @@ build() {
}
package() {
- cd "$srcdir/geoip-api-c"
+ cd $pkgname
make DESTDIR="$pkgdir" install
}