blob: 0bed7caf4d582d1b2227255de64f242041145f23 (
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
|
# $Id$
# Maintainer:
# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=bctoolbox
pkgver=0.2.0.27.gc11f1e7
pkgrel=1
pkgdesc="Utilities library for Belledonne Communications software"
arch=('i686' 'x86_64')
url="http://www.linphone.org/"
license=('GPL')
depends=()
makedepends=('bcunit')
source=("git://github.com/BelledonneCommunications/$pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//; s/-/./g'
build() {
cd "${srcdir}"
mkdir -p build
cd build
cmake -DENABLE_TESTS_COMPONENT="OFF" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname"
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|