wok-next diff slim-theme-esperanza/receipt @ rev 19143

Up miro (6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 12:10:21 2016 +0200 (2016-05-19)
parents
children 0a411c8beacd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slim-theme-esperanza/receipt	Thu May 19 12:10:21 2016 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slim-theme-esperanza"
     1.7 +VERSION="20150602"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Esperanza - theme for SLiM"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="PublicDomain"
    1.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120505013200/esperanza-slim-theme-download"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldmFkeEcyXzRpLVk"
    1.15 +TAGS="hackdorte slim"
    1.16 +
    1.17 +DEPENDS="slim"
    1.18 +BUILD_DEPENDS=""
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir -p $install/usr/share/slim/themes/Esperanza
    1.24 +	cp -a $src/* $install/usr/share/slim/themes/Esperanza
    1.25 +	chown -R root:root $install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +}
    1.33 +
    1.34 +post_install()
    1.35 +{
    1.36 +	chroot "$1/" slim-theme -s Esperanza
    1.37 +}
    1.38 +
    1.39 +pre_remove()
    1.40 +{
    1.41 +	chroot "$1/" slim-theme -f Esperanza
    1.42 +}