Date: Monday, June 12, 2017 @ 14:57:23
  Author: mtorromeo
Revision: 236538

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libmaxminddb/repos/
  libmaxminddb/repos/community-i686/
  libmaxminddb/repos/community-i686/PKGBUILD
    (from rev 236537, libmaxminddb/trunk/PKGBUILD)
  libmaxminddb/repos/community-x86_64/
  libmaxminddb/repos/community-x86_64/PKGBUILD
    (from rev 236537, libmaxminddb/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: libmaxminddb/repos/community-i686/PKGBUILD (from rev 236537, 
libmaxminddb/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD                               (rev 0)
+++ repos/community-i686/PKGBUILD       2017-06-12 14:57:23 UTC (rev 236538)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+# Contributor: frank AT apsu DOT be
+
+pkgname=(libmaxminddb mmdblookup)
+
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="MaxMind GeoIP2 database - split package with library and utilities"
+license=('Apache')
+arch=('i686' 'x86_64')
+url="http://dev.maxmind.com/geoip/geoip2/downloadable/";
+optdepends=('geoip2-database: IP geolocation databases')
+source=("https://github.com/maxmind/libmaxminddb/releases/download/$pkgver/libmaxminddb-$pkgver.tar.gz";)
+sha256sums=('9fa2b3341c9c88117f58454dfb2dd104915a337d93c8a9a735931a63b37f7bfa')
+
+build() {
+       cd "$srcdir"/libmaxminddb-$pkgver
+       ./configure --prefix=/usr
+       make
+}
+
+check() {
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make check
+}
+
+package_libmaxminddb() {
+       pkgdesc="MaxMindDB GeoIP2 database library"
+       depends=('glibc')
+
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make PREFIX=/usr DESTDIR="$pkgdir" install
+       rm -rf "$pkgdir"/usr/{bin,share/man/man1}
+}
+
+package_mmdblookup() {
+       pkgdesc="MaxMindDB GeoIP2 lookup utility"
+       depends=('libmaxminddb')
+
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make PREFIX=/usr DESTDIR="$pkgdir" install
+       rm -rf "$pkgdir"/usr/{lib,include,share/man/man3}
+}

Copied: libmaxminddb/repos/community-x86_64/PKGBUILD (from rev 236537, 
libmaxminddb/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2017-06-12 14:57:23 UTC (rev 236538)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+# Contributor: frank AT apsu DOT be
+
+pkgname=(libmaxminddb mmdblookup)
+
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="MaxMind GeoIP2 database - split package with library and utilities"
+license=('Apache')
+arch=('i686' 'x86_64')
+url="http://dev.maxmind.com/geoip/geoip2/downloadable/";
+optdepends=('geoip2-database: IP geolocation databases')
+source=("https://github.com/maxmind/libmaxminddb/releases/download/$pkgver/libmaxminddb-$pkgver.tar.gz";)
+sha256sums=('9fa2b3341c9c88117f58454dfb2dd104915a337d93c8a9a735931a63b37f7bfa')
+
+build() {
+       cd "$srcdir"/libmaxminddb-$pkgver
+       ./configure --prefix=/usr
+       make
+}
+
+check() {
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make check
+}
+
+package_libmaxminddb() {
+       pkgdesc="MaxMindDB GeoIP2 database library"
+       depends=('glibc')
+
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make PREFIX=/usr DESTDIR="$pkgdir" install
+       rm -rf "$pkgdir"/usr/{bin,share/man/man1}
+}
+
+package_mmdblookup() {
+       pkgdesc="MaxMindDB GeoIP2 lookup utility"
+       depends=('libmaxminddb')
+
+       cd "$srcdir"/libmaxminddb-$pkgver
+       make PREFIX=/usr DESTDIR="$pkgdir" install
+       rm -rf "$pkgdir"/usr/{lib,include,share/man/man3}
+}

Reply via email to