wok-next annotate slim-theme-montanhoso/receipt @ rev 20239
linux-cloop: tiny patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 18:03:36 2017 +0100 (2017-11-06) |
parents | f8b381f96ad6 |
children | 0b724e182c2c |
rev | line source |
---|---|
al@18899 | 1 # SliTaz package receipt. |
al@18899 | 2 |
al@18899 | 3 PACKAGE="slim-theme-montanhoso" |
al@18899 | 4 VERSION="20150526" |
al@19169 | 5 CATEGORY="customization" |
al@18899 | 6 SHORT_DESC="Montanhoso - theme for SLiM" |
al@18899 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18899 | 8 LICENSE="PublicDomain" |
al@18899 | 9 WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager" |
al@18899 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@18899 | 11 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlTXZZRDJWaFI4NkE" |
al@18899 | 12 TAGS="hackdorte slim" |
al@18899 | 13 |
al@18899 | 14 DEPENDS="slim" |
al@18899 | 15 BUILD_DEPENDS="" |
al@18899 | 16 |
al@18899 | 17 # Rules to configure and make the package. |
al@18899 | 18 compile_rules() |
al@18899 | 19 { |
al@18899 | 20 mkdir -p $install/usr/share/slim/themes/Montanhoso |
al@18899 | 21 cp -a $src/* $install/usr/share/slim/themes/Montanhoso |
al@18899 | 22 chown -R root:root $install |
al@18899 | 23 } |
al@18899 | 24 |
al@18899 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18899 | 26 genpkg_rules() |
al@18899 | 27 { |
al@18899 | 28 cp -a $install/* $fs |
al@18899 | 29 } |
al@18899 | 30 |
al@18899 | 31 post_install() |
al@18899 | 32 { |
al@18899 | 33 chroot "$1/" slim-theme -s Montanhoso |
al@18899 | 34 } |
al@18899 | 35 |
al@18899 | 36 pre_remove() |
al@18899 | 37 { |
al@18899 | 38 chroot "$1/" slim-theme -f Montanhoso |
al@18899 | 39 } |