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

updated djview again (4.10.3 -> 4.10.6)
author Hans-G?nter Theisgen
date Tue Jan 14 13:47:35 2020 +0100 (2020-01-14)
parents c38559793ba8
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-ccsm"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz Configuration Settings Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded/ccsm"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz"
14 DEPENDS="compiz-compizconfig-python compiz-core compiz-libcompizconfig
15 gtk-girepository pygobject3 python"
16 BUILD_DEPENDS="compiz-core-dev compiz-libcompizconfig-dev libtool python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # 0.8.14 to avoid: ERROR Cannot find filename: ccsm.appdata.xml.in
22 sed -i '137d' setup.py
24 ./setup.py install \
25 --prefix=/usr \
26 --with-gtk=2.0 \
27 --root="$DESTDIR"
29 find $DESTDIR -name ccsm.desktop | xargs \
30 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#'
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/locale
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/ccsm $fs/usr/share
41 cp -a $install/usr/share/icons $fs/usr/share
43 # Set list of wanted locales in LOCALE_PACK
44 . $WOK/slitaz-i18n/stuff/locale-pack.conf
46 # Copy message files in wanted languages, if available
47 for locale in $LOCALE_PACK
48 do
49 [ -d $install/usr/share/locale/$locale ] || continue
50 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
51 done
52 }