summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-10 17:25:01 +0100
committerfreaj <freaj@riseup.net>2015-03-10 17:25:01 +0100
commitea8e52d78498a3e2ceb1d29b89e479c716099a05 (patch)
tree3c807cae517081511d641a099bfe50f636008a08 /pcr
parent7ae2bed19aab553e492b338c75cf434d1ce8f856 (diff)
toxic-git: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/toxic-git/PKGBUILD33
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
+}