wok-next diff feh/receipt @ rev 19709

Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 02:23:02 2017 +0300 (2017-05-11)
parents 25e87a8bae2a
children e13dc38f55db
line diff
     1.1 --- a/feh/receipt	Sun Apr 13 21:32:47 2014 +0200
     1.2 +++ b/feh/receipt	Thu May 11 02:23:02 2017 +0300
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="2.10"
     1.5  CATEGORY="graphics"
     1.6  SHORT_DESC="Lightweight and powerful image viewer and composer"
     1.7 -MAINTAINER="mallory@sweetpeople.org"
     1.8 +MAINTAINER="pankso@slitaz.org"
     1.9  LICENSE="MIT"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/"
    1.12 @@ -20,9 +20,14 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	sed -i -e 's:/usr/local:/usr:g' config.mk &&
    1.18 -	make && make DESTDIR=$DESTDIR install
    1.19 +	make && make DESTDIR=$DESTDIR install &&
    1.20 +	# Fix path to icon and remove from menu since it need a param to
    1.21 +	# load images.
    1.22 +	sed -i \
    1.23 +		-e s'#/home/slitaz/wok/feh/install##' \
    1.24 +		-e '/Categories.*/'d \
    1.25 +		$DESTDIR/usr/share/applications/feh.desktop || return 1
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.