[arch-commits] Commit in geoip-database/repos/extra-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 5 15:19:19 UTC 2012
Date: Monday, November 5, 2012 @ 10:19:18
Author: foutrelis
Revision: 170231
archrelease: copy trunk to extra-any
Added:
geoip-database/repos/extra-any/PKGBUILD
(from rev 170230, geoip-database/trunk/PKGBUILD)
Deleted:
geoip-database/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-05 15:19:00 UTC (rev 170230)
+++ PKGBUILD 2012-11-05 15:19:18 UTC (rev 170231)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=geoip-database
-pkgver=20121004
-pkgrel=1
-pkgdesc="GeoLite country geolocation database compiled by MaxMind"
-arch=('any')
-url="http://www.maxmind.com/app/ip-location"
-license=('custom:OPEN DATA LICENSE')
-source=(GeoIP-$pkgver.dat.gz::http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
- GeoIPv6-$pkgver.dat.gz::http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
- http://geolite.maxmind.com/download/geoip/database/LICENSE.txt)
-noextract=(GeoIP-$pkgver.dat.gz
- GeoIPv6-$pkgver.dat.gz)
-sha256sums=('3de1aa5fa9b00e16b2fb0130cb3964800619dbcf36fc4cf2782b7eeea0e99e1e'
- '27d47691119cb6680f3ba4188edcfa12272d1cf9fa0b77ce9cef785a60d37ce7'
- '83a4cb82ef8953c0107886b49bc39fcf77590a222d30e778d48f5d92f5b5e383')
-
-build() {
- cd "$srcdir"
-
- for _database_name in GeoIP GeoIPv6; do
- gunzip -c $_database_name-$pkgver.dat.gz >$_database_name.dat
- done
-}
-
-check() {
- cd "$srcdir"
-
- for _database in {GeoIP,GeoIPv6}.dat; do
- if ! grep -q 'MaxMind Inc All Rights Reserved' $_database; then
- error "Copyright notice is missing from $_database; something is fishy!"
- return 1
- fi
- done
-}
-
-package() {
- cd "$srcdir"
-
- install -d "$pkgdir/usr/share/GeoIP"
- install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIP.dat GeoIPv6.dat
-
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: geoip-database/repos/extra-any/PKGBUILD (from rev 170230, geoip-database/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-11-05 15:19:18 UTC (rev 170231)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=geoip-database
+pkgver=20121105
+pkgrel=1
+pkgdesc="GeoLite country geolocation database compiled by MaxMind"
+arch=('any')
+url="http://www.maxmind.com/app/ip-location"
+license=('custom:OPEN DATA LICENSE')
+source=(GeoIP-$pkgver.dat.gz::http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+ GeoIPv6-$pkgver.dat.gz::http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
+ http://geolite.maxmind.com/download/geoip/database/LICENSE.txt)
+noextract=(GeoIP-$pkgver.dat.gz
+ GeoIPv6-$pkgver.dat.gz)
+sha256sums=('43620bccfd6d3b542d3ff6f0d403fc8c1e4ee678e8c27be73efd1bc5e5be6265'
+ '9dcc2e8386e160760e6d5c301b8332b3375c5d2f7636cf5e7b35a7e267669351'
+ '83a4cb82ef8953c0107886b49bc39fcf77590a222d30e778d48f5d92f5b5e383')
+
+build() {
+ cd "$srcdir"
+
+ for _database_name in GeoIP GeoIPv6; do
+ gunzip -c $_database_name-$pkgver.dat.gz >$_database_name.dat
+ done
+}
+
+check() {
+ cd "$srcdir"
+
+ for _database in {GeoIP,GeoIPv6}.dat; do
+ if ! grep -q 'MaxMind Inc All Rights Reserved' $_database; then
+ error "Copyright notice is missing from $_database; something is fishy!"
+ return 1
+ fi
+ done
+}
+
+package() {
+ cd "$srcdir"
+
+ install -d "$pkgdir/usr/share/GeoIP"
+ install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIP.dat GeoIPv6.dat
+
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list