blob: afbd6f852778618954476cc94013f6740a80d950 (
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
|
# Maintainer: Erik Reider <erik.reider@protonmail.com>
pkgname=swaync-git
pkgver=0.2.r130.e3143c6
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" "vala-dbus-binding-tool-git>=1.0" "gobject-introspection>=1.68" "libgee>=0.20" "json-glib>=1.0" "libhandy>=1.4.0")
makedepends=(vala meson git)
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd $_pkgfoldername
printf "0.2.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
}
|