Debian Codegraph @

PKGBUILD

raw
1 pkgname=fnott
2 pkgver=1.8.0
3 pkgrel=1
4 pkgdesc="Lightweight notification daemon for Wayland"
5 arch=('x86_64' 'aarch64')
6 url=https://codeberg.org/dnkl/fnott
7 license=(mit)
8 makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
9 depends=(
10 'wayland' 'pixman' 'libpng' 'dbus' 'nanosvg'
11 'fcft>=3.0.0' 'fcft<4.0.0')
12 source=()
13 changelog=CHANGELOG.md
14
15 pkgver() {
16 cd ../.git &> /dev/null && git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
17 head -3 ../meson.build | grep version | cut -d "'" -f 2
18 }
19
20 build() {
21 meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true -Dsystem-nanosvg=enabled ..
22 ninja
23 }
24
25 package() {
26 DESTDIR="${pkgdir}/" ninja install
27 }