Date: Tuesday, January 31, 2023 @ 20:51:53
  Author: felixonmars
Revision: 1391573

archrelease: copy trunk to community-any

Added:
  v2ray-domain-list-community/repos/community-any/PKGBUILD
    (from rev 1391572, v2ray-domain-list-community/trunk/PKGBUILD)
Deleted:
  v2ray-domain-list-community/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   47 ++++++++++++++++++++++++-----------------------
 1 file changed, 24 insertions(+), 23 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:51:41 UTC (rev 1391572)
+++ PKGBUILD    2023-01-31 20:51:53 UTC (rev 1391573)
@@ -1,23 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=v2ray-domain-list-community
-pkgver=20230130083113
-pkgrel=1
-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')
-
-build() {
-  cd domain-list-community-$pkgver
-  ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 go run main.go
-}
-
-package() {
-  cd domain-list-community-$pkgver
-  install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
-  install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 
1391572, v2ray-domain-list-community/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:51:53 UTC (rev 1391573)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=v2ray-domain-list-community
+pkgver=20230130083113
+_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=("git+https://github.com/v2fly/domain-list-community.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd domain-list-community
+  ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 go run main.go
+}
+
+package() {
+  cd domain-list-community
+  install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to