Skip to content

Commit

Permalink
New package: sing-geosite-20240217140518
Browse files Browse the repository at this point in the history
  • Loading branch information
nuckle committed Feb 19, 2024
1 parent 3e65de6 commit 3473112
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions srcpkgs/sing-geosite/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'sing-geosite'
pkgname=sing-geosite
version=20240217140518

Check failure on line 3 in srcpkgs/sing-geosite/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

missing reverts= for downgrade to 20240217140518
revision=1
build_style=go
go_import_path="github.com/sagernet/sing-geosite"
short_desc="Geosite database and rule sets for sing-box"
maintainer="Nuckle <coil@itscat.org>"
license="GPL-3.0-or-later, LGPL-3.0-or-later"
homepage="https://github.com/SagerNet/sing-geosite"
changelog="https://github.com/SagerNet/sing-geosite/releases"
distfiles="https://github.com/SagerNet/sing-geosite/archive/refs/tags/${version}.tar.gz"
checksum=44f065601e89918dd4746f5d18756de1bceea3ea1b309d6a05e6eaeeee476c59

pre_build() {
export GOPATH=$wrksrc/build
}

post_build() {
NO_SKIP=true build/bin/sing-geosite
}

do_install() {
vmkdir usr/share/sing-geosite
vmkdir usr/share/sing-geosite/rule-set

vcopy rule-set/* usr/share/sing-geosite/rule-set
vcopy *.db usr/share/sing-geosite
}

0 comments on commit 3473112

Please sign in to comment.