pkgname=swaync _name="SwayNotificationCenter" pkgver=0.12.3 pkgdesc="A simple notification daemon with a GTK gui for notifications and control center" homepage="https://github.com/ErikReider/SwayNotificationCenter" license=("GPL-3") depends=(sassc glib:2 gobject-introspection granite json-glib libgee gtk4-layer-shell gtk:4 libadwaita libhandy libpulse dbus gdk-pixbuf:2) bdepends=(blueprint-compiler) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/ErikReider/${_name}/archive/v${pkgver}.tar.gz") sha512sums=("847fa8b46f432d40f4c1c7a8559d5b3f5b431784e3dc7afb90edb57533c6662116af2d78965b2e4b9f635432b108e3a1ad518d739c6fa13ee317b0d80bcbb8cf") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { local meson_args=( --prefix=/usr --buildtype=release --wrap-mode=nodownload -D python.bytecompile=1 -D pulse-audio=true ) meson setup build "${meson_args[@]}" meson compile -C build } src_install() { meson install -C build --destdir "$pkgdir" } # vim:ft=sh syn=sh et sw=2: