wok-next view elementary-icon-theme/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents 6c02c6c86fce
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="elementary-icon-theme"
4 VERSION="4.2.0"
5 CATEGORY="customization"
6 SHORT_DESC="Smooth modern theme designed to be intuitive"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/elementary/icons"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 #BUILD_DEPENDS="wget cacerts"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 icodir=$install/usr/share/icons/elementary
20 mkdir -p $icodir
21 cp -r $src/* $icodir
23 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
24 mkdir -p $docdir
25 cd $icodir
26 mv AUTHORS *.md CONTRIBUTORS COPYING *.gpl pre-commit $docdir
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy @std
33 }