wok-next diff feh/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 6befec62b46c |
children | 5669e8b3be70 |
line diff
1.1 --- a/feh/receipt Thu Aug 30 10:49:57 2018 +0300 1.2 +++ b/feh/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,44 +1,37 @@ 1.4 -# SliTaz package receipt 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="feh" 1.8 VERSION="2.10" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="Lightweight and powerful image viewer and composer" 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +MAINTAINER="devel@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="https://feh.finalrewind.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="https://feh.finalrewind.org/" 1.18 WGET_URL="https://feh.finalrewind.org/$TARBALL" 1.19 -TAGS="image photo viewer" 1.20 1.21 -DEPENDS="imlib2 giblib jpeg libpng16 xorg-libX11 freetype xorg-libXau \ 1.22 -xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl" 1.23 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xorgproto \ 1.24 xorg-libX11-dev libpng16-dev jpeg-dev curl-dev xorg-libXinerama-dev \ 1.25 xorg-libXt-dev" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 - sed -i -e 's:/usr/local:/usr:g' config.mk && 1.31 - make && make DESTDIR=$DESTDIR install && 1.32 +compile_rules() { 1.33 + sed -i 's|/usr/local|/usr|g' config.mk 1.34 + 1.35 + make && 1.36 + make DESTDIR=$install install || return 1 1.37 + 1.38 # Fix path to icon and remove from menu since it need a param to 1.39 # load images. 1.40 - sed -i \ 1.41 - -e s'#/home/slitaz/wok/feh/install##' \ 1.42 - -e '/Categories.*/'d \ 1.43 - $DESTDIR/usr/share/applications/feh.desktop || return 1 1.44 + sed \ 1.45 + -e 's|/home/slitaz/wok/feh/install||' \ 1.46 + -e '/Categories.*/d' \ 1.47 + -i $install/usr/share/applications/feh.desktop 1.48 } 1.49 1.50 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.51 -genpkg_rules() 1.52 -{ 1.53 - mkdir -p $fs/usr/bin 1.54 - mkdir -p $fs/usr/share/feh 1.55 - mkdir -p $fs/usr/share/feh/fonts 1.56 - mkdir -p $fs/usr/share/feh/images 1.57 - 1.58 - cp -a $install/usr/bin/feh $fs/usr/bin 1.59 - cp -a $install/usr/share/feh/fonts $fs/usr/share/feh 1.60 - cp -a $install/usr/share/feh/images $fs/usr/share/feh 1.61 +genpkg_rules() { 1.62 + copy @std 1.63 + DEPENDS="imlib2 giblib jpeg libpng16 xorg-libX11 freetype xorg-libXau \ 1.64 + xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl" 1.65 + TAGS="image photo viewer" 1.66 }