# Description: Image viewer for Xfce # URL: https://docs.xfce.org/apps/ristretto/start # Maintainer: David L. Craig, dlc dot usa at gmail dot com # Depends on: file thunar # Xfce git (https://git.xfce.org/) group: apps xfcerel=4.14 name=ristretto version=0.10.0 release=2 source=(http://archive.xfce.org/src/apps/$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 $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 \ --disable-nls \ --disable-debug \ --disable-dependency-tracking make make DESTDIR=$PKG install rm -r $PKG/usr/share/locale find $PKG/usr/share -type f -name '*.desktop' \ -exec sed -r '/\[.+\]=/d' -i {} \; }