[arch-commits] Commit in v2ray-geoip/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 19:08:59 UTC 2019


    Date: Saturday, October 26, 2019 @ 19:08:59
  Author: felixonmars
Revision: 520456

archrelease: copy trunk to community-any

Added:
  v2ray-geoip/repos/community-any/PKGBUILD
    (from rev 520455, v2ray-geoip/trunk/PKGBUILD)
Deleted:
  v2ray-geoip/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-26 19:08:45 UTC (rev 520455)
+++ PKGBUILD	2019-10-26 19:08:59 UTC (rev 520456)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=v2ray-geoip
-pkgver=20190813
-pkgrel=1
-pkgdesc="GeoIP List for V2Ray"
-arch=('any')
-url="https://github.com/v2ray/geoip"
-license=('MIT')
-makedepends=('go-pie' 'git')
-source=("GeoLite2-Country-CSV-$pkgver.zip::https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip")
-sha512sums=('fbf72cf86a5da8972188304b4b51e3dc9947a776914faa7c640d49cb2985d7755d12f9bba70857a9430d743ab45638cd1373e295e678095db5796f42177f6db5')
-
-prepare() {
-  mkdir .gopath
-  export GOPATH="$srcdir/.gopath"
-
-  go get github.com/v2ray/geoip
-
-  mv "$srcdir"/GeoLite2-Country-CSV_$pkgver .gopath/geoip
-}
-
-build() {
-  cd .gopath
-  bin/geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv
-}
-
-package() {
-  cd .gopath
-  install -Dm755 geoip.dat "$pkgdir"/etc/v2ray/geoip.dat
-  install -Dm644 "$GOPATH"/src/github.com/v2ray/geoip/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: v2ray-geoip/repos/community-any/PKGBUILD (from rev 520455, v2ray-geoip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-26 19:08:59 UTC (rev 520456)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=v2ray-geoip
+pkgver=20191022
+pkgrel=1
+pkgdesc="GeoIP List for V2Ray"
+arch=('any')
+url="https://github.com/v2ray/geoip"
+license=('MIT')
+makedepends=('go-pie' 'git')
+source=("GeoLite2-Country-CSV-$pkgver.zip::https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip")
+sha512sums=('6c929c7309c6c027e922844a60fd91d1e36e75a9c11e1f198fce8ca12c139f75abbc1d32513510f248f17e44a7e58fe75ca37a05d354d7e270195b8654864482')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir/.gopath"
+
+  go get -insecure github.com/v2ray/geoip
+
+  mv "$srcdir"/GeoLite2-Country-CSV_$pkgver .gopath/geoip
+}
+
+build() {
+  cd .gopath
+  bin/geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv
+}
+
+package() {
+  cd .gopath
+  install -Dm755 geoip.dat "$pkgdir"/etc/v2ray/geoip.dat
+  install -Dm644 "$GOPATH"/src/github.com/v2ray/geoip/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list