wok-next diff elementary-icon-theme/receipt @ rev 20952

Update croscore-fonts, elementary-icon-theme
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Sep 02 11:34:04 2018 +0300 (2018-09-02)
parents d43bf7aae921
children 0ed3f456a542
line diff
     1.1 --- a/elementary-icon-theme/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/elementary-icon-theme/receipt	Sun Sep 02 11:34:04 2018 +0300
     1.3 @@ -1,31 +1,34 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="elementary-icon-theme"
     1.7 -VERSION="4.2.0"
     1.8 +VERSION="4.3.1"
     1.9  CATEGORY="customization"
    1.10  SHORT_DESC="Smooth modern theme designed to be intuitive"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="https://github.com/elementary/icons"
    1.14 +HOST_ARCH="any"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	icodir=$install/usr/share/icons/elementary
    1.23 -	mkdir -p $icodir
    1.24 -	cp -r $src/* $icodir
    1.25 +BUILD_DEPENDS="cmake"
    1.26  
    1.27 -	docdir=$install/usr/share/doc/$PACKAGE-$VERSION
    1.28 -	mkdir -p $docdir
    1.29 -	cd $icodir
    1.30 -	mv AUTHORS *.md CONTRIBUTORS COPYING *.gpl pre-commit $docdir
    1.31 +compile_rules() {
    1.32 +	mkdir build
    1.33 +	cd    build
    1.34 +
    1.35 +	cmake \
    1.36 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.37 +		.. &&
    1.38 +	make &&
    1.39 +	make install || return 1
    1.40 +
    1.41 +	cd ..
    1.42 +	cook_pick_docs AUTHORS *.md CONTRIBUTORS COPYING *.gpl pre-commit
    1.43  }
    1.44  
    1.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 -genpkg_rules()
    1.47 -{
    1.48 +genpkg_rules() {
    1.49  	copy @std
    1.50 +	rm $fs/.VolumeIcon.icns $fs/.VolumeIcon.png
    1.51  }