wok-next annotate compiz-ccsm/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | de355b69ea82 |
children |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-ccsm" |
psychomaniak@19217 | 4 VERSION="0.8.12.3" |
pascal@11219 | 5 CATEGORY="x-window" |
al@21020 | 6 SHORT_DESC="Compiz Config Settings Manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20882 | 9 WEB_SITE="https://github.com/compiz-reloaded/ccsm" |
al@20882 | 10 REPOLOGY="ccsm" |
al@20882 | 11 |
psychomaniak@19217 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz" |
pascal@11219 | 14 |
al@21020 | 15 BUILD_DEPENDS="python-pygobject compiz-compizconfig-python gtk-girepository \ |
al@21020 | 16 python-dev libtool compiz-core-dev compiz-libcompizconfig-dev intltool" |
pankso@13372 | 17 |
al@21020 | 18 compile_rules() { |
al@21020 | 19 python -B setup.py install --prefix=/usr --with-gtk=2.0 --root=$install |
psychomaniak@19437 | 20 |
al@21020 | 21 find $install -name ccsm.desktop | xargs \ |
psychomaniak@19437 | 22 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#' |
pascal@11219 | 23 } |
pascal@11219 | 24 |
al@21020 | 25 genpkg_rules() { |
psychomaniak@19217 | 26 mkdir -p $fs/usr/share/locale |
pascal@15000 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 28 cp -a $install/usr/lib $fs/usr |
psychomaniak@19217 | 29 cp -a $install/usr/share/locale/ru $fs/usr/share/locale |
pascal@15000 | 30 cp -a $install/usr/share/ccsm $fs/usr/share |
pascal@15000 | 31 cp -a $install/usr/share/icons $fs/usr/share |
al@21020 | 32 DEPENDS="python python-pygobject compiz-core compiz-libcompizconfig \ |
al@21020 | 33 compiz-compizconfig-python gtk-girepository" |
pascal@11219 | 34 } |