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 28, 2024
1 parent 8deaff0 commit 99f9b64
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions srcpkgs/sing-geosite/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Template file for 'sing-geosite'
pkgname=sing-geosite
reverts="20240217140518_1"
version=20240217140518

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

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

remove 20240217140518_1 from $reverts
revision=1
build_style=go
build_helper=qemu
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

post_build() {
for f in ${GOPATH}/bin/* ${GOPATH}/bin/**/*; do
if [ -f "$f" ] && [ -x "$f" ]; then
NO_SKIP=true vtargetrun "$f"
fi
done
}

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 99f9b64

Please sign in to comment.