wok-next view 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 |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded/ccsm"
10 REPOLOGY="ccsm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz"
15 BUILD_DEPENDS="python-pygobject compiz-compizconfig-python gtk-girepository \
16 python-dev libtool compiz-core-dev compiz-libcompizconfig-dev intltool"
18 compile_rules() {
19 python -B setup.py install --prefix=/usr --with-gtk=2.0 --root=$install
21 find $install -name ccsm.desktop | xargs \
22 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#'
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/share/locale
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
30 cp -a $install/usr/share/ccsm $fs/usr/share
31 cp -a $install/usr/share/icons $fs/usr/share
32 DEPENDS="python python-pygobject compiz-core compiz-libcompizconfig \
33 compiz-compizconfig-python gtk-girepository"
34 }