2025-09-29 13:45:10 +02:00

39 lines
897 B
Bash
Executable File

name='tuntox-git'
version='269.ef1f283'
release=1
desc='Tunnel TCP connections over the Tox protocol'
desc_ru='Туннелирование TCP-соединений по протоколу Tox'
maintainer='Elara Musayelyan <elara@elara.ws>'
maintainer_ru='Элара Мусаелян <elara@elara.ws>'
homepage='https://github.com/gjedeer/tuntox'
architectures=('amd64' 'arm64' 'arm7' 'arm6' '386')
license=('GPL-3.0-or-later')
provides=('tuntox')
conflicts=('tuntox')
build_deps=('libtoxcore-dev')
build_deps_fedora=('toxcore-devel')
build_deps_opensuse=('toxcore-devel')
build_deps_arch=('toxcore')
deps=('toxcore')
deps_debian=('libtoxcore2')
sources=('git+https://github.com/gjedeer/tuntox.git')
checksums=('SKIP')
version() {
cd "$srcdir/tuntox"
git-version
}
build() {
cd "$srcdir/tuntox"
make tuntox_nostatic
}
package() {
cd "$srcdir/tuntox"
make DESTDIR="${pkgdir}" install
}