update sing-geoip
update sing-geosite
This commit is contained in:
parent
5083379092
commit
7d456fcc85
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=sing-geoip
|
||||
pkgver=20240112
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='sing-geoip database'
|
||||
arch=('any')
|
||||
url="https://github.com/SagerNet/sing-geoip"
|
||||
|
@ -27,4 +27,7 @@ package() {
|
|||
install -Dm644 "geoip-cn.db" "${pkgdir}/usr/share/${pkgname}/geoip-cn.db"
|
||||
install -Dm644 "geoip.db" "${pkgdir}/usr/share/${pkgname}/geoip.db"
|
||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
cd "rule-set"
|
||||
install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/rule-set" ./*.srs
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=sing-geosite
|
||||
pkgver=20240129100418
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='sing-geosite database'
|
||||
arch=('any')
|
||||
url="https://github.com/SagerNet/sing-geosite"
|
||||
|
@ -19,11 +19,14 @@ build() {
|
|||
export NO_SKIP=true
|
||||
|
||||
cd "${srcdir}/${pkgname}"
|
||||
GOTOOLCHAIN=go1.20.10 go run -v .
|
||||
go run -v .
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
install -Dm644 "geosite.db" "${pkgdir}/usr/share/${pkgname}/geosite.db"
|
||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
cd "rule-set"
|
||||
install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/rule-set" ./*.srs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue