diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-03-10 15:21:48 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-03-10 15:21:48 -0300 |
commit | b10cf88a63da57153790864b13f34e618a397848 (patch) | |
tree | 5ade101f214650d6a193c38c6c2406204b025c5a /pcr/toxic-git | |
parent | 926441c27bcb41c328389336059eab587ae380ac (diff) | |
parent | ea8e52d78498a3e2ceb1d29b89e479c716099a05 (diff) |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/toxic-git')
-rw-r--r-- | pcr/toxic-git/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/toxic-git/PKGBUILD b/pcr/toxic-git/PKGBUILD new file mode 100644 index 000000000..a9ba0e46e --- /dev/null +++ b/pcr/toxic-git/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: freaj <freaj@riseup.net> +# Maintainer (Arch): Florian Hahn <flo@fhahn.com> + +pkgname=toxic-git +pkgdesc='CLI client for tox, a Skype replacement that respects your privacy' +license=('GPL3') +pkgver=0.5.2.r141.g6774289 +pkgrel=1 +depends=('tox-git' 'libconfig' 'freealut' 'libvpx' 'opus' 'libnotify') +makedepends=('git') +conflicts=('toxic') +provides=('toxic') +arch=('i686' 'x86_64') +url=('http://tox.im') +source=('git+https://github.com/Tox/toxic.git') +md5sums=('SKIP') + +_gitname=toxic + +pkgver() { + cd "${srcdir}/${_gitname}" + git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${_gitname}/build" + make PREFIX=/usr +} + +package() { + cd "${srcdir}/${_gitname}/build" + make PREFIX=/usr DESTDIR="${pkgdir}" install +} |