blob: 7e2cc21a5fb7c93dadea51f991b394543568cfbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id$
# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=bctoolbox-git
_pkgname=bctoolbox
pkgver=0.6.0.r74.ge34db67
pkgrel=1
pkgdesc="Utilities library for Belledonne Communications software"
arch=('i686' 'x86_64')
url="http://www.linphone.org/"
license=('GPL')
conflicts=('bctoolbox')
provides=('bctoolbox')
depends=('libdecaf' 'mbedtls')
makedepends=('cmake' 'git')
source=("git://github.com/BelledonneCommunications/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
mkdir -p build
cd build
cmake -DENABLE_TESTS_COMPONENT=NO \
-DCMAKE_INSTALL_LIBDIR="/usr/lib" \
-DCMAKE_INSTALL_PREFIX="/usr" "../$_pkgname" \
-DENABLE_STATIC="NO"
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|