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

Felix Yan felixonmars at archlinux.org
Wed Nov 20 07:32:51 UTC 2019


    Date: Wednesday, November 20, 2019 @ 07:32:51
  Author: felixonmars
Revision: 530691

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-20 07:32:38 UTC (rev 530690)
+++ PKGBUILD	2019-11-20 07:32:51 UTC (rev 530691)
@@ -1,32 +0,0 @@
-# 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
-}

Copied: v2ray-geoip/repos/community-any/PKGBUILD (from rev 530690, v2ray-geoip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-20 07:32:51 UTC (rev 530691)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=v2ray-geoip
+pkgver=20191119
+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=('ede6b3a69db469d00e6f05a13baed7307e02f9d59198b93a497ab37250f6888f8cfdd1af2ddf169c5d01c134bafb2ec94c7320b26fa34d19f7934ac81427fdf3')
+
+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"/usr/lib/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