wok-6.x annotate slim-theme-esperanza/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 16bbdc96072c |
children | 34e801e0eb52 |
rev | line source |
---|---|
al@18899 | 1 # SliTaz package receipt. |
al@18899 | 2 |
al@18899 | 3 PACKAGE="slim-theme-esperanza" |
al@18899 | 4 VERSION="20150602" |
al@19169 | 5 CATEGORY="customization" |
al@18899 | 6 SHORT_DESC="Esperanza - theme for SLiM" |
al@18899 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18899 | 8 LICENSE="PublicDomain" |
pascal@20693 | 9 WEB_SITE="https://github.com/SliTaz-official/hackdorte-artwork/tree/master/slim/themes" |
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=0B4Re2DvqOMqldmFkeEcyXzRpLVk" |
al@18899 | 15 |
al@18899 | 16 DEPENDS="slim" |
al@18899 | 17 BUILD_DEPENDS="" |
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/Esperanza |
al@19958 | 23 mkdir -p $theme |
al@19958 | 24 cp -a $src/* $theme |
al@18899 | 25 chown -R root:root $install |
al@18899 | 26 } |
al@18899 | 27 |
al@18899 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18899 | 29 genpkg_rules() |
al@18899 | 30 { |
al@18899 | 31 cp -a $install/* $fs |
al@18899 | 32 } |
al@18899 | 33 |
al@18899 | 34 post_install() |
al@18899 | 35 { |
al@18899 | 36 chroot "$1/" slim-theme -s Esperanza |
al@18899 | 37 } |
al@18899 | 38 |
al@18899 | 39 pre_remove() |
al@18899 | 40 { |
al@18899 | 41 chroot "$1/" slim-theme -f Esperanza |
al@18899 | 42 } |