xfce/ristretto/Pkgfile
Leo Unglaub dd1ca23acb ristretto: Cleanup the Pkgfile
This Pkgfile removed the language stuff directly in the
Makefile. This can work, however in some cases i can also
fail. To be safe i removed the languages after building
the package.

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-04 00:08:50 +00:00

37 lines
832 B
Plaintext

# Description: Ristretto is a fast and lightweight picture-viewer for the Xfce desktop environment.
# URL: http://goodies.xfce.org/projects/applications/ristretto
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: thunar libexif
# Group: xfce4
name=ristretto
version=0.8.0
release=1
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build ()
{
# go into the source dircetory
cd $SRC/$name-$version
# configure ristretto
./configure \
--prefix=/usr \
--disable-nls \
--disable-debug \
--disable-dependency-tracking
# make ristretto
make
make DESTDIR=$PKG install
# cleanup the desktop file
rm -r $PKG/usr/share/locale
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}