blob: 51b92df9485e94b7a3b85c64da2080b7ad79f45f (
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
|
# Maintainer: Juanjo GutiƩrrez <juanjo at gutierrezdequevedo dot com>
pkgname=cutelogger
_pkgnamebase=CuteLogger
pkgver=r92.5001249
pkgrel=1
pkgdesc="Simple, convenient and thread safe logger for Qt-based C++ apps"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/dept2/CuteLogger"
license=('LGPL2.1')
provides=('cutelogger')
source=(git+https://github.com/dept2/CuteLogger)
sha1sums=('SKIP')
depends=('qt5-base')
makedepends=('git' 'cmake')
pkgver() {
cd "$_pkgnamebase"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
mkdir "$srcdir/$_pkgnamebase/build"
cd "$srcdir/$_pkgnamebase/build"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/$_pkgnamebase/build"
make install DESTDIR="$pkgdir"
install -m755 -d "$pkgdir/usr/include/${_pkgnamebase}"
install -m644 "$srcdir/$_pkgnamebase/include"/* "$pkgdir/usr/include/${_pkgnamebase}"
}
|