[arch-commits] Commit in tuntox/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Tue Apr 3 09:30:32 UTC 2018
Date: Tuesday, April 3, 2018 @ 09:30:31
Author: farseerfc
Revision: 313959
upgpkg: tuntox 0.0.8-3
tuntox backport fixes with toxcore 0.2.x compatibility
Modified:
tuntox/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-03 09:03:16 UTC (rev 313958)
+++ PKGBUILD 2018-04-03 09:30:31 UTC (rev 313959)
@@ -4,30 +4,35 @@
pkgname=tuntox
pkgver=0.0.8
-#_commit=ae9993aba7a7c90045a1747fbf33518039b9bb08
-pkgrel=1
+_commit=ef49516b967e1b3a1af777725554e5081ee0c688
+pkgrel=3
pkgdesc='Tunnel TCP connections over the Tox protocol'
arch=('x86_64')
url='https://github.com/gjedeer/tuntox'
license=('GPL3')
depends=('toxcore' 'libevent')
-makedepends=('cscope')
-source=( # "git+https://github.com/gjedeer/tuntox.git#commit=$_commit" #tag=$pkgver
- "https://github.com/gjedeer/${pkgname}/archive/${pkgver}.tar.gz"
- "https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
+makedepends=('cscope' 'git')
+
+## Using git commit to fix toxcore 0.2.x compatibility
+source=( "git+https://github.com/gjedeer/tuntox.git#commit=$_commit" #tag=$pkgver
+ #"https://github.com/gjedeer/${pkgname}/archive/${pkgver}.tar.gz"
+ #"https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
)
-sha512sums=('7fdaea7ece9bdb74078f3b3c13a7a8b939f700031b6a845b32e3ef374c952090862d7c895af17515b58b156ad1a3ec87b3d45b8120bfbad5824ddc8266c8da16'
+sha512sums=(
+ #'7fdaea7ece9bdb74078f3b3c13a7a8b939f700031b6a845b32e3ef374c952090862d7c895af17515b58b156ad1a3ec87b3d45b8120bfbad5824ddc8266c8da16'
'SKIP')
validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7') # GDR!_ <gdr at gdr.name>
prepare() {
- cd $pkgname-$pkgver
+ #cd $pkgname-$pkgver
+ cd $pkgname
#sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
}
build() {
- cd $pkgname-$pkgver
+ #cd $pkgname-$pkgver
+ cd $pkgname
# Makefile requires these, make it happy
# pending issue: https://github.com/gjedeer/tuntox/issues/35
@@ -39,7 +44,8 @@
}
package() {
- cd $pkgname-$pkgver
+ #cd $pkgname-$pkgver
+ cd $pkgname
install -Dm755 tuntox "$pkgdir/usr/bin/tuntox"
install -Dm755 scripts/tokssh "$pkgdir/usr/bin/tokssh"
install -Dm644 scripts/tuntox.service "$pkgdir/usr/lib/systemd/system/tuntox.service"
More information about the arch-commits
mailing list