Advertisement
Guest User

geoip-citydata 20140507-1 Arch AUR PKGBUILD with IPv6

a guest
May 7th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement