summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2020-07-25 22:30:13 -0400
committerGuillaume Horel2020-07-25 22:30:13 -0400
commit0256866a0e6c8fa5ebf24545b783ac7babc98cd7 (patch)
treec915ed1e64cb3bc9da09bc800c4762b4e0a644bf
downloadaur-0256866a0e6c8fa5ebf24545b783ac7babc98cd7.tar.gz
initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d2b4b6e12d9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = lime
+ pkgdesc = C++ library implementing Open Whisper System Signal protocol
+ pkgver = 4.4.0
+ pkgrel = 1
+ url = http://www.linphone.org/
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ depends = bctoolbox=4.4.0
+ depends = soci>=4.0.0
+ source = lime-4.4.0.tar.gz::https://github.com/BelledonneCommunications/lime/archive/4.4.0.tar.gz
+ sha256sums = 7463294a419298d9765d6f8092216124bdd5876028e6af3419ac1b96800590e4
+
+pkgname = lime
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f74b6d85822
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=lime
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="C++ library implementing Open Whisper System Signal protocol"
+arch=('x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=("bctoolbox=$pkgver" 'soci>=4.0.0')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('7463294a419298d9765d6f8092216124bdd5876028e6af3419ac1b96800590e4')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_PREFIX_PATH="/usr" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DENABLE_STATIC="NO" \
+ -DENABLE_UNIT_TESTS=NO "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}