Date: Tuesday, January 31, 2023 @ 20:51:41
  Author: felixonmars
Revision: 1391572

upgpkg: v2ray-domain-list-community 20230130083113-2

Modified:
  v2ray-domain-list-community/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:46:55 UTC (rev 1391571)
+++ PKGBUILD    2023-01-31 20:51:41 UTC (rev 1391572)
@@ -2,22 +2,23 @@
 
 pkgname=v2ray-domain-list-community
 pkgver=20230130083113
-pkgrel=1
+_commit=048daed828da3da142da8c84bbe982e0f9dd795b
+pkgrel=2
 pkgdesc="A list of domains to be used as geosites for routing purpose in 
Project V"
 arch=('any')
 url="https://github.com/v2fly/domain-list-community";
 license=('MIT')
 makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/v2fly/domain-list-community/archive/$pkgver.tar.gz";)
-sha512sums=('146bdbad3b07e5783cff8cfc54be4ffc99fb9b22fd3cd12056d3390e5ef42598150dd32689308a3d5885544750c2787bc715b6562e84ac881b1bd7aaf6fafbce')
+source=("git+https://github.com/v2fly/domain-list-community.git#commit=$_commit";)
+sha512sums=('SKIP')
 
 build() {
-  cd domain-list-community-$pkgver
+  cd domain-list-community
   ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 go run main.go
 }
 
 package() {
-  cd domain-list-community-$pkgver
+  cd domain-list-community
   install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
-  install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to