Skip to content

Instantly share code, notes, and snippets.

@cuihaoleo
Created August 21, 2015 16:24
Show Gist options
  • Save cuihaoleo/1482d721dbcfb577bbb8 to your computer and use it in GitHub Desktop.
Save cuihaoleo/1482d721dbcfb577bbb8 to your computer and use it in GitHub Desktop.
# 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