947928aa4d
Most of them are dependencies for packages X11 and unstable repositories.
23 lines
1.0 KiB
Bash
23 lines
1.0 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://dev.maxmind.com/geoip/geoip2/geolite2/
|
|
TERMUX_PKG_DESCRIPTION="GeoLite2 IP geolocation databases compiled by MaxMind"
|
|
TERMUX_PKG_LICENSE="CC0-1.0"
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_VERSION=20190307
|
|
|
|
TERMUX_PKG_SRCURL=('https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz'
|
|
'https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz'
|
|
'https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz')
|
|
|
|
## If these checksums becomes invalid - it's time to update package.
|
|
TERMUX_PKG_SHA256=('6e32212ef0cd240bc6eeaa891beb2398e5d285f5b4c4972ee7afe2b5cad13957'
|
|
'b1e6d664aeb00ab4c3c25b75f103425f96e747dbac59da21f3bbfc5bbafa9877'
|
|
'6676658f47ac8d958bcf84348d06e67634f114ca160133b86658f23848e980ed')
|
|
|
|
termux_step_make_install() {
|
|
install -Dm600 \
|
|
-t "$TERMUX_PREFIX"/share/GeoIP/ \
|
|
$(find "$TERMUX_PKG_SRCDIR" -type f -iname \*.mmdb)
|
|
}
|