contrib/girara/Pkgfile

30 lines
889 B
Plaintext
Raw Normal View History

2021-09-25 18:21:58 +02:00
# Description: User interface library focusing on simplicity and minimalism
# URL: https://pwmt.org/projects/girara
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libnotify
# Optional: json-glib libnotify
2021-09-25 18:21:58 +02:00
name=girara
2023-03-25 13:17:33 +01:00
version=0.4.0
2021-09-25 18:21:58 +02:00
release=1
2022-03-19 03:08:11 +01:00
source=(https://git.pwmt.org/pwmt/$name/-/archive/$version/$name-$version.tar.bz2)
2021-09-25 18:21:58 +02:00
build() {
prt-get isinst json-glib && PKGMK_GIRARA+=' -D json=enabled' || PKGMK_GIRARA+=' -D json=disabled'
2021-09-25 18:21:58 +02:00
prt-get isinst libnotify && PKGMK_GIRARA+=' -D notify=enabled' || PKGMK_GIRARA+=' -D notify=disabled'
meson setup $name-$version build $PKGMK_GIRARA \
--prefix=/usr \
--sysconfdir=/etc \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D docs=disabled \
-D tests=disabled
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -rf $PKG/usr/share/locale
}