contrib/girara/Pkgfile

29 lines
781 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
2024-05-02 20:16:51 +02:00
version=0.4.4
2021-09-25 18:21:58 +02:00
release=1
2024-05-02 20:16:51 +02:00
source=(https://github.com/pwmt/girara/archive/$version/$name-$version.tar.gz)
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
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
}