wok-current view compiz-ccsm/receipt @ rev 20397

Up tklauncher (0.32)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 26 20:54:55 2018 +0200 (2018-06-26)
parents 8e1f5fe117e6
children cdbaf97bfe46
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-ccsm"
4 VERSION="0.8.12.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz Config Settings Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/compiz-reloaded/ccsm"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz"
13 DEPENDS="python pygobject3 compiz-core compiz-libcompizconfig \
14 compiz-compizconfig-python gtk-girepository"
15 BUILD_DEPENDS="$DEPENDS python-dev libtool compiz-core-dev \
16 compiz-libcompizconfig-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./setup.py install --prefix=/usr --with-gtk=2.0 --root="$DESTDIR"
23 find $DESTDIR -name ccsm.desktop | xargs \
24 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#'
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
34 cp -a $install/usr/share/ccsm $fs/usr/share
35 cp -a $install/usr/share/icons $fs/usr/share
36 }