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

Jiachen Yang farseerfc at archlinux.org
Wed Dec 21 13:51:38 UTC 2016


    Date: Wednesday, December 21, 2016 @ 13:51:37
  Author: farseerfc
Revision: 200796

upgpkg: tuntox 0.0.5.6d74a7a-1

tuntox migrate to c-toxcore API

Modified:
  tuntox/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-21 13:26:41 UTC (rev 200795)
+++ PKGBUILD	2016-12-21 13:51:37 UTC (rev 200796)
@@ -1,8 +1,10 @@
 # $Id$
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=tuntox
-pkgver=0.0.5
+pkgver=0.0.5.6d74a7a
+_commit=6d74a7a2da9690ca56b3543a240d53b6b3915bf3
 pkgrel=1
 pkgdesc='Tunnel TCP connections over the Tox protocol'
 arch=('i686' 'x86_64')
@@ -10,19 +12,20 @@
 license=('GPL3')
 depends=('toxcore')
 makedepends=('git' 'cscope')
-source=("git+https://github.com/gjedeer/tuntox.git#tag=$pkgver"
-        shared-build.patch)
-sha512sums=('SKIP'
-            'e5bbcdf14103c1d4cdd6bb4e142c14bd1ebc9130b8fa50cd5f50f99dbf54b1796f31adc78c21378d129e5c7ea9986d59e63ddb423bf3473c34f635f59dc19d8c')
+source=("git+https://github.com/gjedeer/tuntox.git#commit=$_commit"  #tag=$pkgver
+       )
+sha512sums=('SKIP')
 
 prepare() {
   cd $pkgname
-  patch -p1 -i ../shared-build.patch
+  sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
 }
 
 build() {
   cd $pkgname
-  make
+
+  make gitversion.h tuntox_nostatic  # use dynamic linking
+  mv tuntox_nostatic tuntox
 }
 
 package() {



More information about the arch-commits mailing list