milis/talimatname/genel/geoip-database/talimat

21 lines
468 B
Plaintext
Raw Normal View History

2017-06-01 18:14:21 +02:00
# 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
}