summaryrefslogtreecommitdiff
path: root/opt/fnott/MAKEPKG
blob: 9e20ba2fe1dc73d530f15d7fc2850722d987b739 (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
32
33
34
35
36
37
#!/bin/mkpkg
# description: Keyboard driven and lightweight Wayland notification daemon
# url: https://codeberg.org/dnkl/fnott

name=fnott
version=1.8.0
release=1
depends=(libnotify fcft fontconfig freetype pixman libpng wayland dbus)
makedeps=(meson ninja scdoc wayland-protocols tllist)
source=(https://codeberg.org/dnkl/fnott/archive/$version.tar.gz)
renames=($name-$version.tar.gz)
sha256sums=(
    "896bf281431067adf539a8e563db7ef0409877f53131af4fd6656ceda11d24db"
)

build() {
    cd $name

    meson setup build \
        --prefix=/usr \
        --buildtype=plain \
        --wrap-mode=nodownload \
        -D b_lto=true \
        -D b_pie=true \
        -D docs=enabled \
        -D werror=false

    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh