# Description: Xfce's desktop manager # URL: https://docs.xfce.org/xfce/xfdesktop/start # Maintainer: David L. Craig, dlc dot usa at gmail dot com # Depends on: thunar # Xfce git (https://git.xfce.org/) group: xfce xfcerel=4.14 name=xfdesktop version=4.14.1 release=1 source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2 xfce_$xfcerel.$name ) build () { # The port's pre-install script ensured the build and/or deploy system is in the # right state to build and/or deploy this port. # Establish the xfce4-package-style marker file for this version of Xfce: install -d -m0755 -groot -oroot $PKG/usr/etc install -T -m0644 -groot -oroot $SRC/xfce_$xfcerel.$name \ $PKG/usr/etc/xfce_$xfcerel echo "xfce_$xfcerel version $xfcerel" > $PKG/usr/etc/xfce_$xfcerel # Establish the $xfcerel $name file for this port: install -d -m0755 -groot -oroot $PKG/var/lib/pkg/xfce/$xfcerel install -T -m0644 -groot -oroot $SRC/xfce_$xfcerel.$name \ $PKG/var/lib/pkg/xfce/$xfcerel/$name # Build the canonical package: cd $name-$version ./configure --prefix=/usr \ --libexecdir=/usr/lib make make DESTDIR=$PKG install rm -rf $PKG/usr/share/{locale,doc} find $PKG/usr/share/applications -type f -name '*.desktop' \ -exec sed -r '/\[.+\]=/d' -i {} \; }