xfce/ristretto/Pkgfile
2012-04-02 11:14:08 +02:00

29 lines
777 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: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: thunar libexif
# Group: xfce4
name=ristretto
version=0.3.6
release=1
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
# remove po stuff
sed -i Makefile.* -e '/^SUBDIRS =/ s/po //' -e '/^SUBDIRS =/ s/ docs//'
./configure --prefix=/usr \
--disable-nls \
--disable-debug
make
make DESTDIR=$PKG install
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}