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 20, 2024
1 parent 8deaff0 commit f865c8a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions srcpkgs/sing-geosite/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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
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 f865c8a

Please sign in to comment.