xfce/xarchiver/Pkgfile
Leo Unglaub 0c125f69a9 xarchiver: Update to 0.5.4
Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-10 02:49:54 +00:00

39 lines
866 B
Plaintext

# Description: Archive manager for XFce4
# URL: http://xarchiver.sourceforge.net/
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: gtk desktop-file-utils
# Group: xfce4
name=xarchiver
version=0.5.4
release=1
source=(http://download.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure xarchiver
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/thunar \
--disable-debug \
--disable-dependency-tracking
# make xarchiver
make
make DESTDIR=$PKG install
# cleanup
rm -rf $PKG/usr/share/{doc,locale}
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
sed -i $PKG/usr/share/applications/$name.desktop \
-e 's|multipart|application|g'
}