wok-next view mate-desktop/receipt @ rev 18596

libsdl: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 17:31:47 2015 +0200 (2015-11-13)
parents a9c240804d58
children d6ca18366f41
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-desktop"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Common package for MATE Desktop applications."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
13 DEPENDS="gtk+ gdk-pixbuf libltdl"
14 BUILD_DEPENDS="wget cacerts autoconf automake dconf-dev libtool itstool \
15 mate-common-dev gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools harfbuzz-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }
36 # Post install/remove commands for Tazpkg.
37 post_install()
38 {
39 echo "Processing post-install commands..."
40 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
41 }
43 post_remove()
44 {
45 echo "Processing post-remove commands..."
46 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
47 }