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

Jiachen Yang farseerfc at archlinux.org
Sun Nov 18 09:36:12 UTC 2018


    Date: Sunday, November 18, 2018 @ 09:36:12
  Author: farseerfc
Revision: 408664

upgpkg: tuntox 0.0.9-1

tuntox 0.0.9

Modified:
  tuntox/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-18 08:50:50 UTC (rev 408663)
+++ PKGBUILD	2018-11-18 09:36:12 UTC (rev 408664)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=tuntox
-pkgver=0.0.8
+pkgver=0.0.9
 _commit=ef49516b967e1b3a1af777725554e5081ee0c688
-pkgrel=4
+pkgrel=1
 pkgdesc='Tunnel TCP connections over the Tox protocol'
 arch=('x86_64')
 url='https://github.com/gjedeer/tuntox'
@@ -18,9 +18,7 @@
         #"https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
        )
 
-sha512sums=(
-            #'7fdaea7ece9bdb74078f3b3c13a7a8b939f700031b6a845b32e3ef374c952090862d7c895af17515b58b156ad1a3ec87b3d45b8120bfbad5824ddc8266c8da16'
-            'SKIP')
+sha512sums=('SKIP')
 validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7')  # GDR!_ <gdr at gdr.name>
 
 prepare() {
@@ -27,6 +25,10 @@
   #cd $pkgname-$pkgver
   cd $pkgname
   #sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
+  sed -i "/^CFLAGS=/d" Makefile # use CFLAGS from makepkg
+  sed -i "/^LDFLAGS=/d" Makefile # use LDFLAGS from makepkg
+  sed -i "s/^DSO_LDFLAGS=/DSO_LDFLAGS=$LDFLAGS/" Makefile # use DSO_LDFLAGS from makepkg
+  cat Makefile
 }
 
 build() {



More information about the arch-commits mailing list