forked from ErikReider/SwayNotificationCenter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD-git
34 lines (30 loc) · 927 Bytes
/
PKGBUILD-git
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
# Maintainer: Erik Reider <[email protected]>
pkgname=swaync-git
pkgver=0.3.r206.37142fc
pkgrel=1
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DE's"
_pkgfoldername=SwayNotificationCenter
url="https://github.com/ErikReider/$_pkgfoldername"
arch=(x86_64)
license=(GPL)
depends=("gtk3>=3.22" "gtk-layer-shell>=0.1" "dbus" "glib2>=2.50" "gobject-introspection>=1.68" "libgee>=0.20" "json-glib>=1.0" "libhandy>=1.4.0")
conflicts=("swaync" "swaync-client")
provides=("swaync" "swaync-client")
makedepends=(vala meson git)
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd $_pkgfoldername
printf "0.3.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd SwayNotificationCenter
git checkout main
}
build() {
arch-meson $_pkgfoldername build
ninja -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}