wok annotate emerald/receipt @ rev 22443
vlc: add hicolor-icon-theme -> post-install misses index.theme
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon Dec 23 15:29:27 2019 +0000 (2019-12-23) |
parents | 92b9429ba668 |
children | e2f8a574b574 |
rev | line source |
---|---|
pankso@12406 | 1 # SliTaz package receipt. |
pankso@12406 | 2 |
pankso@12406 | 3 PACKAGE="emerald" |
Hans-G?nter@20880 | 4 VERSION="0.8.14" |
pankso@12406 | 5 CATEGORY="x-window" |
pankso@12406 | 6 SHORT_DESC="Window decorator for Compiz." |
pankso@12406 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@20880 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@20880 | 10 |
psychomaniak@19217 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pankso@12406 | 13 |
pankso@12406 | 14 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core" |
Hans-G?nter@20880 | 15 BUILD_DEPENDS="autoconf automake xorg-dev gtk+-dev compiz-core-dev \ |
Hans-G?nter@20880 | 16 libtool libwnck-dev" |
pankso@12406 | 17 |
pankso@12406 | 18 # Rules to configure and make the package. |
pankso@12406 | 19 compile_rules() |
pankso@12406 | 20 { |
Hans-G?nter@20880 | 21 ./autogen.sh \ |
Hans-G?nter@20880 | 22 --prefix=/usr \ |
Hans-G?nter@20880 | 23 --with-gtk=2.0 \ |
Hans-G?nter@20880 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@20880 | 25 make -j 1 && |
Hans-G?nter@20880 | 26 make install |
pankso@12406 | 27 } |
pankso@12406 | 28 |
pankso@12406 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12406 | 30 genpkg_rules() |
pankso@12406 | 31 { |
Hans-G?nter@20882 | 32 # Copy emerald.mo files: |
Hans-G?nter@20882 | 33 for lang in de es fr it pt_BR ru; do |
Hans-G?nter@20882 | 34 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@20882 | 35 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \ |
Hans-G?nter@20885 | 36 $fs/usr/share/locale/$lang/LC_MESSAGES/ |
Hans-G?nter@20882 | 37 done |
Hans-G?nter@20882 | 38 |
Hans-G?nter@20882 | 39 mkdir -p $fs/usr/lib |
pankso@12406 | 40 cp -a $install/usr/bin $fs/usr |
pankso@12406 | 41 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pankso@12406 | 42 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib |
pankso@12406 | 43 rm -f $fs/usr/lib/$PACKAGE/*/*.*a |
pankso@12406 | 44 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
psychomaniak@19217 | 45 cp -a $install/usr/share/icons $fs/usr/share |
pankso@12406 | 46 # SliTaz config and theme (to move in slitaz-configs ?) |
pankso@12406 | 47 cp -f $stuff/settings.ini $fs/usr/share/emerald |
pankso@12406 | 48 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme |
psychomaniak@19217 | 49 cd $fs/usr/share/emerald |
psychomaniak@19217 | 50 mkdir themes ; cd themes ; ln -sf ../theme SliTaz |
psychomaniak@19217 | 51 mkdir default ; cd default |
psychomaniak@19217 | 52 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done |
psychomaniak@19217 | 53 cp -a $install/usr/share/emerald/theme/theme.ini . |
pankso@12406 | 54 } |