wok-next annotate compiz-ccsm/receipt @ rev 20297
Up spl (0.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 09 21:37:23 2017 +0100 (2017-11-09) |
parents | c38559793ba8 |
children | d958fec46c9f |
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" |
pascal@11219 | 6 SHORT_DESC="Compiz Config Settings Manager." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
psychomaniak@19217 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 10 WEB_SITE="https://github.com/compiz-reloaded/ccsm" |
psychomaniak@19217 | 11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz" |
pascal@11219 | 12 |
psychomaniak@19217 | 13 DEPENDS="python pygobject3 compiz-core compiz-libcompizconfig \ |
psychomaniak@19217 | 14 compiz-compizconfig-python gtk-girepository" |
psychomaniak@19217 | 15 BUILD_DEPENDS="$DEPENDS python-dev libtool compiz-core-dev \ |
pascal@19938 | 16 compiz-libcompizconfig-dev intltool" |
pankso@13372 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
psychomaniak@19217 | 21 ./setup.py install --prefix=/usr --with-gtk=2.0 --root="$DESTDIR" |
psychomaniak@19437 | 22 |
psychomaniak@19437 | 23 find $DESTDIR -name ccsm.desktop | xargs \ |
psychomaniak@19437 | 24 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#' |
pascal@11219 | 25 } |
pascal@11219 | 26 |
pascal@11219 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 28 genpkg_rules() |
pascal@11219 | 29 { |
psychomaniak@19217 | 30 mkdir -p $fs/usr/share/locale |
pascal@15000 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 32 cp -a $install/usr/lib $fs/usr |
psychomaniak@19217 | 33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale |
pascal@15000 | 34 cp -a $install/usr/share/ccsm $fs/usr/share |
pascal@15000 | 35 cp -a $install/usr/share/icons $fs/usr/share |
pascal@11219 | 36 } |