wok-next diff oxygen-icons/receipt @ rev 20593

Up gpm (1.20.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 16:28:35 2018 +0300 (2018-04-14)
parents 40fab26c175d
children d5aab818505e
line diff
     1.1 --- a/oxygen-icons/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/oxygen-icons/receipt	Sat Apr 14 16:28:35 2018 +0300
     1.3 @@ -1,33 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="oxygen-icons"
     1.8 -VERSION="4.4.2"
     1.9 +VERSION="4.8.3"
    1.10  CATEGORY="customization"
    1.11  SHORT_DESC="Oxygen icon theme"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="LGPL3"
    1.14  WEB_SITE="http://www.kde.org/"
    1.15 -TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    1.16 -WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/$PACKAGE/$TARBALL"
    1.17  
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr/share/icons/oxygen
    1.22 -	for size in 16 22 32 48; do
    1.23 -		cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
    1.24 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.xz"
    1.25 +WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/oxygen-icons/$TARBALL"
    1.26 +
    1.27 +compile_rules() {
    1.28 +	mkdir -p $install/usr/share/icons/oxygen
    1.29 +	for size in 16 22 48; do
    1.30 +		cp -a $src/${size}x$size $install/usr/share/icons/oxygen
    1.31  	done
    1.32 -	cp -a $src/index.theme $fs/usr/share/icons/oxygen
    1.33 +	cp -a $src/index.theme $install/usr/share/icons/oxygen
    1.34  }
    1.35  
    1.36 -qtfix="usr/share/icons/hicolor/index.theme"
    1.37 -
    1.38 -post_install()
    1.39 -{
    1.40 -	sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43  }
    1.44 -
    1.45 -pre_remove()
    1.46 -{
    1.47 -	sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
    1.48 -}