blob: 417fcd9952d918f40ef4e70aa5823fa991bda189 (
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
|
# Maintainer: Sebastian Lau <lauseb644 _at_ gmail _dot_ com>
pkgname="liblogcpp"
pkgver=1.9.0
pkgrel=1
pkgdesc="A intuitive and highly customizable LGPL library for logging with C++."
arch=('x86_64' 'i686' 'armv6h' 'armv7h')
url="https://github.com/nullptrT/liblogcpp.git"
license=('LGPL3')
conflicts=('liblogcpp')
provides=('liblogcpp=${pkgver}')
replaces=('liblogcpp')
depends=()
makedepends=('cmake')
source=("liblogcpp-v${pkgver}.tar.gz::https://github.com/nullptrT/liblogcpp/archive/${pkgver}.tar.gz")
sha512=('')
prepare() {
[[ -e "$srcdir/build" ]] && rm -r "$srcdir/build"
mkdir "$srcdir/build"
}
build() {
cd "$srcdir/build"
cmake -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-DLOGCPP_INSTALL_LIBS=ON \
"../liblogcpp-$pkgver"
make
}
package() {
cd "$srcdir/build"
make DESTDIR="${pkgdir}" install
}
md5sums=('e835e62cf93b8d97638e2d34c976aab7')
|