[arch-commits] Commit in tuntox/repos/community-x86_64 (PKGBUILD PKGBUILD keys)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Sep 4 07:23:40 UTC 2022
Date: Sunday, September 4, 2022 @ 07:23:40
Author: felixonmars
Revision: 1292797
archrelease: copy trunk to community-x86_64
Added:
tuntox/repos/community-x86_64/PKGBUILD
(from rev 1292796, tuntox/trunk/PKGBUILD)
tuntox/repos/community-x86_64/keys/
Deleted:
tuntox/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-04 07:23:21 UTC (rev 1292796)
+++ PKGBUILD 2022-09-04 07:23:40 UTC (rev 1292797)
@@ -1,40 +0,0 @@
-# Maintainer: Jiachen Yang <farseerfc at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=tuntox
-pkgver=0.0.10
-pkgrel=1
-pkgdesc='Tunnel TCP connections over the Tox protocol'
-arch=('x86_64')
-url='https://github.com/gjedeer/tuntox'
-license=('GPL3')
-depends=('toxcore' 'libevent')
-makedepends=('cscope' 'git')
-source=("https://github.com/gjedeer/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
- #"https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
- )
-sha512sums=('25536fc8fbccc6e25aab42131a9973422a0e3313669d5fe5aa7317162250aa96d05d42b8eea239f4e621856ff2ba3a2d886c35ff77b0f5cdb82fd4263794bf82')
-validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7') # GDR!_ <gdr at gdr.name>
-
-prepare() {
- cd $pkgname-$pkgver
- #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() {
- cd $pkgname-$pkgver
-
- make tuntox_nostatic # use dynamic linking
- mv tuntox_nostatic tuntox
-}
-
-package() {
- cd $pkgname-$pkgver
- 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"
-}
Copied: tuntox/repos/community-x86_64/PKGBUILD (from rev 1292796, tuntox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-04 07:23:40 UTC (rev 1292797)
@@ -0,0 +1,40 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=tuntox
+pkgver=0.0.10.1
+pkgrel=1
+pkgdesc='Tunnel TCP connections over the Tox protocol'
+arch=('x86_64')
+url='https://github.com/gjedeer/tuntox'
+license=('GPL3')
+depends=('toxcore' 'libevent')
+makedepends=('cscope' 'git')
+source=("https://github.com/gjedeer/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ #"https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
+ )
+sha512sums=('6f5a01df207df62c3c3371418702ab96ba5b9a9ea8cb4499aaf96bf68f88861f6b5b73769366949de21e9c4a330ce1f02bd4fd222ef24b608a49a71a6e542861')
+validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7') # GDR!_ <gdr at gdr.name>
+
+prepare() {
+ cd $pkgname-$pkgver
+ #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() {
+ cd $pkgname-$pkgver
+
+ make tuntox_nostatic # use dynamic linking
+ mv tuntox_nostatic tuntox
+}
+
+package() {
+ cd $pkgname-$pkgver
+ 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