wok-next view emerald/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="emerald"
4 VERSION="0.8.18"
5 CATEGORY="x-window"
6 TAGS="compiz"
7 SHORT_DESC="Window decorator for Compiz"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://gitlab.com/compiz/emerald"
12 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
13 WGET_URL="https://gitlab.com/compiz/emerald/-/archive/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="automake cairo-dev compiz-dev gettext-dev gtk3-dev
16 intltool libtool libwnck3-dev libxi-dev libxrender-dev
17 pango-dev xorg-libXtst-dev"
18 SPLIT="$PACKAGE-dev"
20 DEPENDS_std="atk compiz gdk-pixbuf glib gtk3 libcairo libwnck3 libx11
21 libxi libxrender pango xorg-libXtst"
22 DEPENDS_dev="atk-dev cairo-dev compiz-dev emerald gdk-pixbuf-dev glib-dev
23 gtk3-dev libwnck3-dev libx11-dev libxi-dev libxrender-dev pango-dev"
25 compile_rules()
26 {
27 ./autogen.sh \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install || return 1
33 # save original emerald theme as 'default':
34 mkdir -p $install/usr/share/emerald/themes/default/
35 cd $install/usr/share/emerald/themes/default/
36 for i in $(ls ../../theme/*.png)
37 do
38 ln -s $i $(basename $i)
39 done
40 mv $install/usr/share/emerald/theme/theme.ini \
41 $install/usr/share/emerald/themes/default/theme.ini
43 # make SliTaz theme
44 ln -sf ../theme $install/usr/share/emerald/themes/SliTaz
45 cp $stuff/theme.ini $install/usr/share/emerald/themes/SliTaz/
47 # custom SliTaz configuration
48 cp -f $stuff/settings.ini $install/usr/share/emerald/
49 }
51 genpkg_rules()
52 {
53 case $PACKAGE in
54 emerald) copy @std; DEPENDS="$DEPENDS_std";;
55 *-dev) copy @dev; DEPENDS="$DEPENDS_dev";;
56 esac
57 }