update sing-geoip
update sing-geosite
This commit is contained in:
parent
5083379092
commit
7d456fcc85
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=sing-geoip
|
pkgname=sing-geoip
|
||||||
pkgver=20240112
|
pkgver=20240112
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='sing-geoip database'
|
pkgdesc='sing-geoip database'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/SagerNet/sing-geoip"
|
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-cn.db" "${pkgdir}/usr/share/${pkgname}/geoip-cn.db"
|
||||||
install -Dm644 "geoip.db" "${pkgdir}/usr/share/${pkgname}/geoip.db"
|
install -Dm644 "geoip.db" "${pkgdir}/usr/share/${pkgname}/geoip.db"
|
||||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
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
|
pkgname=sing-geosite
|
||||||
pkgver=20240129100418
|
pkgver=20240129100418
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='sing-geosite database'
|
pkgdesc='sing-geosite database'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/SagerNet/sing-geosite"
|
url="https://github.com/SagerNet/sing-geosite"
|
||||||
|
@ -19,11 +19,14 @@ build() {
|
||||||
export NO_SKIP=true
|
export NO_SKIP=true
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
GOTOOLCHAIN=go1.20.10 go run -v .
|
go run -v .
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
install -Dm644 "geosite.db" "${pkgdir}/usr/share/${pkgname}/geosite.db"
|
install -Dm644 "geosite.db" "${pkgdir}/usr/share/${pkgname}/geosite.db"
|
||||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
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