wok-next view emerald/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | cf5b9b23125f |
children | f48456621a9d |
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="pankso@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 gtk+-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 gtk+ libwnck2 compiz-core"
46 }