diff options
Diffstat (limited to 'pcr/toxic-git/PKGBUILD')
-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 +} |