sing-geoip: auto updated to 20230112-4

This commit is contained in:
Lilac 2023-05-14 19:36:19 +00:00
parent 8588393633
commit ca6a587018

24
repo/sing-geoip/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: everyx <lunt.luo#gmail.com>
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"
}