wok annotate slim-theme-clean/receipt @ rev 20577
Up btrfs-progs (4.19.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 18:01:50 2018 +0100 (2018-12-13) |
parents | 0a411c8beacd |
children | 2d4c3cc3ef95 |
rev | line source |
---|---|
al@18899 | 1 # SliTaz package receipt. |
al@18899 | 2 |
al@18899 | 3 PACKAGE="slim-theme-clean" |
al@18899 | 4 VERSION="20150602" |
al@19169 | 5 CATEGORY="customization" |
al@18899 | 6 SHORT_DESC="Clean - 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/120566561330/clean-slim-theme-download" |
al@19958 | 10 TAGS="hackdorte slim" |
al@19958 | 11 COOKOPTS="!pngquant" |
al@19958 | 12 |
al@18899 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@18899 | 14 WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlczlac2tXa01wbTQ" |
al@18899 | 15 |
al@18899 | 16 DEPENDS="slim" |
al@18899 | 17 BUILD_DEPENDS="imagemagick" |
al@18899 | 18 |
al@18899 | 19 # Rules to configure and make the package. |
al@18899 | 20 compile_rules() |
al@18899 | 21 { |
al@19958 | 22 theme=$install/usr/share/slim/themes/Clean |
al@19958 | 23 mkdir -p $theme |
al@19958 | 24 cp -a $src/* $theme |
al@19958 | 25 cd $theme |
al@19958 | 26 convert background.png background.jpg |
al@19958 | 27 rm background.png |
al@19958 | 28 |
al@18899 | 29 chown -R root:root $install |
al@18899 | 30 } |
al@18899 | 31 |
al@18899 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18899 | 33 genpkg_rules() |
al@18899 | 34 { |
al@18899 | 35 cp -a $install/* $fs |
al@18899 | 36 } |
al@18899 | 37 |
al@18899 | 38 post_install() |
al@18899 | 39 { |
al@18899 | 40 chroot "$1/" slim-theme -s Clean |
al@18899 | 41 } |
al@18899 | 42 |
al@18899 | 43 pre_remove() |
al@18899 | 44 { |
al@18899 | 45 chroot "$1/" slim-theme -f Clean |
al@18899 | 46 } |