diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-09 19:01:42 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-09 19:01:42 -0300 |
commit | 893331c67d94a5f4846a456613b520a3355fe7ff (patch) | |
tree | 6d1a3a5ab21d6373023dc552b6ec26a09a6347a5 /pcr/bzrtp-git/PKGBUILD | |
parent | 8f2f40cd008736f232a5eefac94c9821d47ae481 (diff) | |
download | abslibre-893331c67d94a5f4846a456613b520a3355fe7ff.tar.gz abslibre-893331c67d94a5f4846a456613b520a3355fe7ff.tar.bz2 abslibre-893331c67d94a5f4846a456613b520a3355fe7ff.zip |
bzrtp-git: add new package to [pcr]
Diffstat (limited to 'pcr/bzrtp-git/PKGBUILD')
-rw-r--r-- | pcr/bzrtp-git/PKGBUILD | 37 |
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 +} |