blob: c2a122d42d82225179932b9cf2b23fe613597680 (
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
42
43
44
45
|
# Maintainer: Zane Fernandes
pkgname=lowkey-git
pkgver=r10.c2552b7
pkgrel=1
pkgdesc="A customizable battery notification daemon"
arch=('x86_64')
url="https://github.com/ZaneFerns360/lowkey"
license=('MIT')
depends=(
'boost-libs'
'libnotify'
)
makedepends=(
'cmake'
'git'
'boost'
)
optdepends=(
'dunst: Lightweight and customizable notification daemon'
'mako: Lightweight notification daemon for Wayland'
)
provides=(
'lowkey'
)
conflicts=(
'lowkey'
)
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/lowkey"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S "$srcdir/lowkey" \
-DCMAKE_BUILD_TYPE=None
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|