This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

geoip-citydata 20140507-1 Arch AUR PKGBUILD with IPv6

By: a guest on May 7th, 2014  |  syntax: None  |  size: 0.81 KB  |  views: 163  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: fordprefect <fordprefect@dukun.de>
  2. pkgname=geoip-citydata
  3. pkgver=20140507
  4. pkgrel=1
  5. pkgdesc="City database for geoip IP location lookups"
  6. depends=('geoip')
  7. url='http://www.maxmind.com/'
  8. arch=('any')
  9. license=('CCPL')
  10. source=('http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.xz'
  11.         'http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz')
  12. md5sums=('a953192dbdb19d5b598921f356efeac7'
  13.          'd6f7c9ec14232b1a293fdc22b0133a1e')
  14.    
  15. package() {
  16.     mkdir -p ${pkgdir}/usr/share/GeoIP/
  17.     install -m 444 GeoLiteCity.dat ${pkgdir}/usr/share/GeoIP/
  18.     install -m 444 GeoLiteCityv6.dat ${pkgdir}/usr/share/GeoIP/
  19.     cd "${pkgdir}/usr/share/GeoIP"
  20.     ln -s GeoLiteCity.dat GeoIPCity.dat
  21.     ln -s GeoLiteCityv6.dat GeoIPCityv6.dat
  22. }
clone this paste RAW Paste Data