aboutsummaryrefslogtreecommitdiff
path: root/xfce4-notifyd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-notifyd/Pkgfile')
-rw-r--r--xfce4-notifyd/Pkgfile27
1 files changed, 15 insertions, 12 deletions
diff --git a/xfce4-notifyd/Pkgfile b/xfce4-notifyd/Pkgfile
index 0732821..dce9961 100644
--- a/xfce4-notifyd/Pkgfile
+++ b/xfce4-notifyd/Pkgfile
@@ -1,6 +1,6 @@
# Description: Themable notification daemon with transparency effects
# URL: https://docs.xfce.org/apps/notifyd/start
-# Maintainer: mac-a-r0ni, j at lngn dot net
+# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: libcanberra libnotify xfce4-panel
name=xfce4-notifyd
@@ -9,20 +9,23 @@ release=1
source=(https://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build () {
- cd $SRC/$name-$version
- ./configure \
- --sysconfdir=/etc \
+ meson setup $name-$version build \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib \
+ --localstatedir=/var \
--prefix=/usr \
- --disable-nls \
- --libexecdir=/usr/lib/$name \
- --disable-debug
+ --sysconfdir=/etc \
+ -Dtests=false \
+ -Dstrip=true \
+ -Db_lto=true \
+ -Db_pie=true
- make
- make DESTDIR=$PKG install
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
- rm $PKG/usr/lib/xfce4/panel/plugins/*.la
- rm -rf $PKG/usr/share/{locale,doc}
- rm -rf $PKG/usr/lib/systemd
+ rm -fr $PKG/usr/share/{locale,doc}
+ rm -fr $PKG/usr/lib/systemd
}