22 lines
742 B
Bash
22 lines
742 B
Bash
# Maintainer: everyx <lunt.luo#gmail.com>
|
|
|
|
pkgname=sing-geosite
|
|
pkgver=20230319124808
|
|
pkgrel=4
|
|
|
|
pkgdesc='sing-geosite database'
|
|
arch=('any')
|
|
_repo="SagerNet/${pkgname}"
|
|
url="https://github.com/${_repo}"
|
|
license=('GPL3')
|
|
|
|
source=("${pkgver}.geosite.db::${url}/releases/download/${pkgver}/geosite.db"
|
|
"${pkgver}.LICENSE::https://raw.githubusercontent.com/${_repo}/${pkgver}/LICENSE")
|
|
sha256sums=('66794196faaf7f321e96648d5e65109c41838ff8ccf5d76733b44419133d130c'
|
|
'2f02b7486bcfa90d115c71a20437f3906b6fd5bef81c5dc0efd341399e89d0fd')
|
|
|
|
package() {
|
|
install -Dm644 "${pkgver}.geosite.db" "${pkgdir}/usr/share/${pkgname}/geosite.db"
|
|
install -Dm644 "${pkgver}.LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|