blob: 2cc8d235e1ecd01c308d244625d1bb719c230fc4 (
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
38
39
40
41
|
# Contributor: XavierCLL <xavier.corredor.llano (a) gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=elektra
pkgver=0.8.22
pkgrel=1
pkgdesc="A universal hierarchical configuration store"
url="https://www.libelektra.org"
license=('custom:BSD')
arch=('i686' 'x86_64')
depends=('yajl' 'qt5-base' 'python' 'curl' 'boost' 'swig' 'libuv')
optdepends=('ruby: for ruby bindings'
'python2: for python2-bindings'
'xerces-c: for python2-bindings'
'lua: for lua bindings'
'libgit2: for git support')
makedepends=('docbook-xsl' 'cmake' 'doxygen')
source=(https://github.com/ElektraInitiative/libelektra/archive/$pkgver.tar.gz)
sha256sums=('f9322cffa2f57f15805c97fd1b11277212cefc73058c6ca579fa79ab0e76aabf')
build() {
cd lib$pkgname-$pkgver
rm -rf build
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DPLUGINS:STRING="ALL" \
-DTOOLS:STRING="ALL" \
-DBUILD_STATIC:STRING=OFF \
-DBINDINGS:STRING="ALL" \
-DSWIG_EXECUTABLE:STRING="/usr/bin/swig" \
-DLUA_INCLUDE_DIR:PATH=/usr/include \
-DLUA_LIBRARY:STRING=/usr/lib/liblua.so ..
make clean
make
}
package() {
cd lib$pkgname-$pkgver/build
make DESTDIR="$pkgdir" install
install -Dm644 ../LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
}
|