diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..94580c6a6a67 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: lmartinez +pkgname=fnott-git +pkgver=1.0.1.r2.g5845372 +pkgrel=1 +pkgdesc="Keyboard-driven and lightweight Wayland notification daemon" +arch=('x86_64') +url="https://codeberg.org/dnkl/fnott" +license=('MIT') +depends=('dbus' 'fcft' 'wlroots') +makedepends=('git' 'meson' 'scdoc' 'wayland-protocols' 'tllist') +provides=('fnott') +conflicts=('fnott') +source=("$pkgname::git+$url") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --long | sed 's/-/.r/;s/-/./' +} + +build() { + cd "$pkgname" + meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true build + ninja -C build +} + +package() { + cd "$pkgname" + DESTDIR="$pkgdir/" ninja -C build install +} |