summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: abcca372b54493bef043555535d475e4f2676d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Maintainer: Dct Mei <dctxmei@yandex.com>

pkgname=clash-geoip
pkgver=202408110401
pkgrel=1
pkgdesc="GeoIP files for Clash"
arch=(any)
url="https://github.com/Loyalsoldier/geoip"
license=(CC-BY-SA-4.0 GPL-3.0-or-later)
source=("${pkgname}-${pkgver}.mmdb::${url}/releases/download/${pkgver}/Country.mmdb")
sha256sums=('57110bcfcbf2988937f81500c149ec641c3b194cc1e21a425a3adf53bf900b29')

package() {
    install -Dm0644 "${pkgname}-${pkgver}.mmdb" "${pkgdir}/etc/clash/Country.mmdb"
}