xfce/xfce-utils/Pkgfile

39 lines
1007 B
Plaintext

# Description: Utilities for XFce4
# URL: http://www.xfce.org
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: libxfce4ui xorg-xinit
# Group: xfce4
name=xfce-utils
version=4.8.3
release=2
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
build () {
cd $name-$version
rm po/*.po
sed -i configure \
-e 's/USE_NLS=yes/USE_NLS=no/' \
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' \
-e 's/useit=yes/useit=no/'
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable-static \
--disable-debug
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
find $PKG/usr -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
# fix to avoid conflicts with xfce4-appfinder >= 4.9.3
# xfce4-run will dissapear from xfce-utils on next XFCE 4.10
rm $PKG/usr/bin/xfrun4
rm $PKG/usr/share/applications/xfrun4.desktop
}