blob: 0bb4cf5653da975ae289fae651c443ee00550129 (
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
|
#!/bin/sh
NAME="libnotify"
DESC="Desktop notification library"
MAKEDEPS="meson gdk-pixbuf dbus gtk3 gobject-introspection"
PKG_VER=0.7.9
SOURCE="https://download.gnome.org/sources/libnotify/${PKG_VER%.*}/libnotify-$PKG_VER.tar.xz"
build() {
meson --prefix=/usr \
-Dtests=true \
-Dintrospection=enabled \
-Dgtk_doc=false \
-Dman=false \
output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}
|