blob: b3838ed5b950cf29b3d3ce544ad08b2f0e3e4e5b (
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
|
# Maintainer: Duong Do Minh Chau <duongdominhchau@gmail.com>
pkgname=qlogger-git
pkgver=r55.ed8eb78
pkgrel=1
pkgdesc="Thread-safe logger for Qt applications"
arch=(x86_64)
url="https://github.com/francescmm/QLogger"
license=('LGPL')
depends=(qt5-base)
provides=(qlogger)
conflicts=(qlogger)
source=("${pkgname}::git+https://github.com/francescmm/QLogger.git#branch=master")
sha256sums=(SKIP)
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname}"
qmake
make
}
package() {
cd "${pkgname}"
install -Dm644 -t "${pkgdir}/usr/lib" libQLogger.a
install -Dm644 -t "${pkgdir}/usr/share/licenses/qlogger" LICENSE
install -Dm644 -t "${pkgdir}/usr/include" QLogger*.h
}
|