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

compiz-ccsm, xvkbd: check depends, tried to fix startup with some locales
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 09 18:56:56 2016 +0300 (2016-10-09)
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 }