milis/talimatname/genel/tuntox/talimat

23 lines
459 B
Plaintext

# Description: Tunnel TCP connections over the Tox protocol
# URL: http://tuntox.pl/
# Packager: milisarge
# Depends on: cscope toxcore
name=tuntox
version=git
release=1
source=(shared-build.patch)
build() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$name.git ];then
git clone https://github.com/gjedeer/$name.git
else
cd $DERLEME_KAYNAKDIZIN/$name.git
git pull
cd -
fi
cd $name
patch -p1 -i ../shared-build.patch
make
install -Dm755 tuntox "$PKG/usr/bin/tuntox"
}