summaryrefslogtreecommitdiffstats
path: root/bzrtp
diff options
context:
space:
mode:
Diffstat (limited to 'bzrtp')
-rw-r--r--bzrtp/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/bzrtp/PKGBUILD b/bzrtp/PKGBUILD
new file mode 100644
index 0000000..5ee4e99
--- /dev/null
+++ b/bzrtp/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=bzrtp
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="Implementation of the ZRTP protocol"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=('bctoolbox')
+makedepends=('')
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('0f36322012dd6cc248aa356555744a8e')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake -DENABLE_STATIC=NO -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}