Created
August 21, 2015 16:24
-
-
Save cuihaoleo/1482d721dbcfb577bbb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: CUI Hao <[email protected]> | |
pkgname=toxvpn-git | |
pkgver=20150710 | |
pkgrel=1 | |
pkgdesc="toxvpn is a powerful tool that allows one to make tunneled point to point connections over Tox." | |
arch=(i686 x86_64) | |
url=https://github.com/cleverca22/toxvpn | |
license=(GPL3) | |
depends=(tox) | |
makedepends=(git) | |
provides=(${pkgname%-*}) | |
source=($pkgname::git://github.com/cleverca22/${pkgname%-*}.git) | |
sha512sums=('SKIP') | |
pkgver() { | |
cd $pkgname/ | |
git log -1 --format=%cd --date=short | sed 's_-__g' | |
} | |
build() { | |
cd "$srcdir/$pkgname" | |
cmake . | |
make | |
} | |
package() { | |
cd "$srcdir/$pkgname" | |
mkdir -p $pkgdir/usr/bin | |
install -Dm 755 toxvpn $pkgdir/usr/bin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment