[arch-commits] Commit in dnscrypt-proxy/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Sep 7 23:52:30 UTC 2019


    Date: Saturday, September 7, 2019 @ 23:52:30
  Author: dvzrv
Revision: 508553

upgpkg: dnscrypt-proxy 2.0.26-1

Upgrading to 2.0.26. Simplifying build steps for go >= 1.11.

Modified:
  dnscrypt-proxy/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-07 23:45:55 UTC (rev 508552)
+++ PKGBUILD	2019-09-07 23:52:30 UTC (rev 508553)
@@ -4,8 +4,8 @@
 # Contributor: peace4all <markspost at rocketmail dot com>
 
 pkgname=dnscrypt-proxy
-pkgver=2.0.25
-pkgrel=2
+pkgver=2.0.26
+pkgrel=1
 pkgdesc="DNS proxy, supporting encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTPS"
 arch=('x86_64')
 url="https://dnscrypt.info"
@@ -24,7 +24,7 @@
         "${pkgname}.service"
         "${pkgname}.socket"
         'configuration.diff')
-sha512sums=('74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133'
+sha512sums=('e7f6e0b4d2bda5d4f910bf89ec5d2eea48d3a63249b3430f25e60f77d32052de1e09c23083d391560a281d24afe973ea87d1a53402da8b43d702f85c9f758b0e'
             'aa871927bbc37d0c629e75a39cbfe50ce6062a19d7fe5b61895c604d6a480ba8f484cf207943c6ee7bf2dc3c7799d8f7a2b1ea5c8e586920c97730a7c503985e'
             '56a56e87032da9316b392b0613124b0743673041596c717005541ae9b3994c7fc16c02497ea773d321f45d8e0f9ea8fda00783062cef4d5c8277b5b6f7cb10d5'
             '6144f3d33f3d85c9a4e5573f88e92f1b9d7118fd654072eeac6c3f76085086d4b2464e1d3579d8501153f453bc5125859d148fc3b3486d26368d1f51911aeb33')
@@ -34,16 +34,10 @@
   patch -Np1 -i ../configuration.diff
   # create empty ip-blacklist.txt
   touch "${pkgname}/ip-blacklist.txt"
-  # symlink upstream's vendor to src
-  ln -sfv vendor src
-  rm -v go.mod
 }
 
 build() {
-  cd "$pkgname-$pkgver"
-  # set GOPATH
-  export GOPATH=$(pwd)
-  cd "${pkgname}"
+  cd "$pkgname-$pkgver/${pkgname}"
   go build -ldflags="-linkmode external -extldflags ${LDFLAGS} -s -w"
 }
 


More information about the arch-commits mailing list