summaryrefslogtreecommitdiff
path: root/pcr/bzrtp-git
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-09 19:01:42 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-09 19:01:42 -0300
commit893331c67d94a5f4846a456613b520a3355fe7ff (patch)
tree6d1a3a5ab21d6373023dc552b6ec26a09a6347a5 /pcr/bzrtp-git
parent8f2f40cd008736f232a5eefac94c9821d47ae481 (diff)
bzrtp-git: add new package to [pcr]
Diffstat (limited to 'pcr/bzrtp-git')
-rw-r--r--pcr/bzrtp-git/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/bzrtp-git/PKGBUILD b/pcr/bzrtp-git/PKGBUILD
new file mode 100644
index 000000000..e5d1caf16
--- /dev/null
+++ b/pcr/bzrtp-git/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_pkgname=bzrtp
+pkgname=bzrtp-git
+pkgver=r155.0d3874b
+pkgrel=1
+pkgdesc="Free Software implementation of ZRTP keys exchange protocol"
+arch=('i686' 'x86_64')
+url="https://github.com/BelledonneCommunications/bzrtp"
+license=('GPL2')
+depends=('libxml2' 'mbedtls' 'bcunit-git' 'bctoolbox-git')
+makedepends=('git')
+conflicts=("${_pkgname}")
+provides=("${_pkgname}")
+source=("${_pkgname}-${pkgver}::git+https://github.com/BelledonneCommunications/bzrtp#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname-$pkgver
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd $_pkgname-$pkgver
+ ./autogen.sh
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}