forked from ZaneFerns360/lowkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
49 lines (44 loc) · 804 Bytes
/
PKGBUILD
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
46
47
48
# Maintainer: Zane Fernandes
pkgname=lowkey
pkgver=r5.67be110
pkgrel=1
pkgdesc="A customizable 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/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
}
build() {
cmake -B build -S "$pkgname" \
-DCMAKE_BUILD_TYPE=None
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}