contrib/network-manager-applet/Pkgfile

29 lines
894 B
Plaintext
Raw Normal View History

2019-06-11 23:45:47 +02:00
# Description: A system tray applet for NetworkManager
# URL: https://wiki.gnome.org/Projects/NetworkManager/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: consolekit libgudev libnma libnotify libsecret
# Optional: libappindicator-gtk3
2019-06-11 23:45:47 +02:00
name=network-manager-applet
version=1.24.0
release=2
source=(https://gitlab.gnome.org/GNOME/network-manager-applet/-/archive/$version/network-manager-applet-$version.tar.bz2)
2019-06-11 23:45:47 +02:00
build() {
prt-get isinst libappindicator-gtk3 && PKGMK_NMA+=' -D appidicator=yes' || PKGMK_NMA+=' -D appindicator=no'
meson setup $name-$version build $PKGMK_NMA \
--prefix=/usr \
2019-06-11 23:45:47 +02:00
--sysconfdir=/etc \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D selinux=false \
-D team=false \
-D wwan=false
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/locale
2019-06-11 23:45:47 +02:00
}