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