blob: 7e20264e997d8cda570887bbe46ccf2fe0c7f9ff (
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
|
# Maintainer: lmartinez
pkgname=fnott-git
pkgver=1.0.1.r2.g5845372
pkgrel=2
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
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|