wok-current diff feh/receipt @ rev 19904

Up: unrar (5.4.5)
author Alexander Medvedev <devl547@gmail.com>
date Sun Apr 09 19:18:42 2017 +0000 (2017-04-09)
parents 25e87a8bae2a
children e3f377fbc5f0
line diff
     1.1 --- a/feh/receipt	Sun Apr 13 21:32:47 2014 +0200
     1.2 +++ b/feh/receipt	Sun Apr 09 19:18:42 2017 +0000
     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.