milis/talimatname/genel/geoip-database/talimat

21 lines
468 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: cografi ip çözücü veritabanı
# URL: http://www.maxmind.com/app/c
# Packager: milisarge
# Depends on:
name=geoip-database
version=20170601
release=1
source=(
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
)
build() {
umask 022
install -d $PKG/usr/share/GeoIP
for i in GeoIP.dat GeoIPv6.dat; do
gzip -dc $i.gz > $PKG/usr/share/GeoIP/$i
done
}