From ca6a587018daf6e5f14b4a54175b6c68fcea1140 Mon Sep 17 00:00:00 2001 From: Lilac Date: Sun, 14 May 2023 19:36:19 +0000 Subject: [PATCH] sing-geoip: auto updated to 20230112-4 --- repo/sing-geoip/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/sing-geoip/PKGBUILD diff --git a/repo/sing-geoip/PKGBUILD b/repo/sing-geoip/PKGBUILD new file mode 100644 index 0000000..054b783 --- /dev/null +++ b/repo/sing-geoip/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: everyx + +pkgname=sing-geoip +pkgver=20230112 +pkgrel=4 + +pkgdesc='sing-geoip database' +arch=('any') +_repo="SagerNet/${pkgname}" +url="https://github.com/${_repo}" +license=('GPL3') + +source=("${pkgver}.geoip-cn.db::${url}/releases/download/${pkgver}/geoip-cn.db" + "${pkgver}.geoip.db::${url}/releases/download/${pkgver}/geoip.db" + "${pkgver}.LICENSE::https://raw.githubusercontent.com/${_repo}/${pkgver}/LICENSE") +sha256sums=('c1832e5a14e532f67784c1d4acdce7d123d871f80837649300806d515f053b84' + '06155d3109b6aa6e4b6de2ef87ef372227eafb896520af7ddc353cffbcfec813' + '2f02b7486bcfa90d115c71a20437f3906b6fd5bef81c5dc0efd341399e89d0fd') + +package() { + install -Dm644 "${pkgver}.geoip-cn.db" "${pkgdir}/usr/share/${pkgname}/geoip-cn.db" + install -Dm644 "${pkgver}.geoip.db" "${pkgdir}/usr/share/${pkgname}/geoip.db" + install -Dm644 "${pkgver}.LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}