wok annotate slim-theme-montanhoso/receipt @ rev 25066
updated alsa-lib, alsa-lib-dev and alsa-utils (1.2.2 -> 1.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:35:13 2022 +0100 (2022-06-10) |
parents | 03ccd15b9fa1 |
children | 77ec99338524 |
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" |
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=0B4Re2DvqOMqlTXZZRDJWaFI4NkE" |
al@18899 | 15 |
al@18899 | 16 DEPENDS="slim" |
al@18899 | 17 BUILD_DEPENDS="" |
al@18899 | 18 |
pascal@24497 | 19 # What is the latest version available today? |
pascal@24497 | 20 current_version() |
pascal@24497 | 21 { |
pascal@24497 | 22 wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \ |
pascal@24497 | 23 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24497 | 24 } |
pascal@24497 | 25 |
al@18899 | 26 # Rules to configure and make the package. |
al@18899 | 27 compile_rules() |
al@18899 | 28 { |
al@19958 | 29 theme=$install/usr/share/slim/themes/Montanhoso |
al@19958 | 30 mkdir -p $theme |
al@19958 | 31 cp -a $src/* $theme |
al@18899 | 32 chown -R root:root $install |
al@18899 | 33 } |
al@18899 | 34 |
al@18899 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18899 | 36 genpkg_rules() |
al@18899 | 37 { |
al@18899 | 38 cp -a $install/* $fs |
al@18899 | 39 } |
al@18899 | 40 |
al@18899 | 41 post_install() |
al@18899 | 42 { |
al@18899 | 43 chroot "$1/" slim-theme -s Montanhoso |
al@18899 | 44 } |
al@18899 | 45 |
al@18899 | 46 pre_remove() |
al@18899 | 47 { |
al@18899 | 48 chroot "$1/" slim-theme -f Montanhoso |
al@18899 | 49 } |