wok-next view emerald/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 f48456621a9d
children 7aa0ae2f7190
line source
1 # SliTaz package receipt v2.
3 PACKAGE="emerald"
4 VERSION="0.8.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Window decorator for Compiz"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="xorg-dev gtk2-dev libwnck2-dev compiz-core-dev \
15 libtool autoconf automake intltool"
17 compile_rules() {
18 ./autogen.sh \
19 --prefix=/usr \
20 --with-gtk=2.0 \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 # save original emerald theme as 'default':
27 mkdir -p $install/usr/share/emerald/themes/default/
28 cd $install/usr/share/emerald/themes/default/
29 for i in $(ls ../../theme/*.png); do
30 ln -s $i $(basename $i)
31 done
32 mv $install/usr/share/emerald/theme/theme.ini \
33 $install/usr/share/emerald/themes/default/theme.ini
35 # make SliTaz theme
36 ln -sf ../theme $install/usr/share/emerald/themes/SliTaz
37 cp $stuff/theme.ini $install/usr/share/emerald/themes/SliTaz/
39 # custom SliTaz config
40 cp -f $stuff/settings.ini $install/usr/share/emerald/
41 }
43 genpkg_rules() {
44 copy @std
45 DEPENDS="xorg-libX11 gtk2 libwnck2 compiz-core"
46 }