SwayNotificationCenter/build-scripts/PKGBUILD

29 lines
963 B
Bash
Raw Normal View History

2021-07-30 23:14:39 +03:00
# Maintainer: Erik Reider <erik.reider@protonmail.com>
pkgname=swaync
2022-06-25 18:05:12 +03:00
pkgver=0.6.2
2021-07-30 19:59:06 +03:00
pkgrel=1
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DEs"
2021-07-31 01:26:34 +03:00
_pkgfoldername=SwayNotificationCenter
url="https://github.com/ErikReider/$_pkgfoldername"
arch=(
'x86_64'
'aarch64' # ARM v8 64-bit
'armv7h' # ARM v7 hardfloat
)
license=(GPL3)
2022-04-06 12:21:43 +03:00
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")
2022-04-06 12:21:43 +03:00
makedepends=(vala meson git scdoc)
source=("${_pkgfoldername}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('d762bb4fc723b6efc9f2fe5f1a1eea851fa73a8c5fcac9311fa437809cdf46d4')
2021-07-30 19:59:06 +03:00
build() {
arch-meson "${_pkgfoldername}-${pkgver}" build -Dscripting=true
ninja -C build
2021-07-30 19:59:06 +03:00
}
package() {
DESTDIR="$pkgdir" meson install -C build
2021-07-30 19:59:06 +03:00
}