wok-next diff xcursor-aero/receipt @ rev 20762

Add leanify
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 05 17:27:09 2018 +0300 (2018-06-05)
parents 40fab26c175d
children 5669e8b3be70
line diff
     1.1 --- a/xcursor-aero/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/xcursor-aero/receipt	Tue Jun 05 17:27:09 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xcursor-aero"
     1.8  VERSION="0.2"
     1.9 @@ -6,17 +6,19 @@
    1.10  SHORT_DESC="Aero cursor theme"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="GPL"
    1.13 -WEB_SITE="http://www.xfce-look.org/content/show.php/Aero+Mouse+Cursors+with+Drop+Shadow?content=67833"
    1.14 +WEB_SITE="https://www.gnome-look.org/p/999972/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://www.infinality.net/files/aero.tar.gz"
    1.18 -TAGS="cursor-theme"
    1.19 +WGET_URL="http://www.infinality.net/files/aero.tar.gz"	# web site is dead :(
    1.20  
    1.21 -DEPENDS="xorg-libXcursor"
    1.22 -BUILD_DEPENDS=""
    1.23 +compile_rules() {
    1.24 +	icodir="$install/usr/share/icons/aero"
    1.25 +	mkdir -p $icodir
    1.26 +	cp -r $src/* $icodir
    1.27 +}
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 -	mkdir -p $fs/usr/share/icons/aero
    1.33 -	cp -a $src/* $fs/usr/share/icons/aero
    1.34 +genpkg_rules() {
    1.35 +	copy @std
    1.36 +	DEPENDS="xorg-libXcursor"
    1.37 +	TAGS="cursor-theme"
    1.38  }