wok-current view caja/receipt @ rev 18277
caja marco mate-menus: add missing files.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Aug 08 19:51:47 2015 +0200 (2015-08-08) |
parents | d7681abbb157 |
children | 704b5f6fbed9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="caja"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE file manager."
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"
13 DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
16 gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
17 SUGGESTED="gvfs-smb"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --enable-introspection \
26 --enable-unique \
27 --disable-static \
28 --disable-update-mimedb \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/$PACKAGE
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/$PACKAGE/* $fs/usr/lib/$PACKAGE
40 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
42 mkdir -p $fs/usr/share/applications
43 cp -a $install/usr/share/applications/* $fs/usr/share/applications
45 mkdir -p $fs/usr/share/dbus-1
46 cp -a $install/usr/share/dbus-1/* $fs/usr/share/dbus-1
48 mkdir -p $fs/usr/share/pixmaps
49 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
50 $fs/usr/share/pixmaps
52 cp -a $install/usr/share/MateConf $fs/usr/share
53 cp -a $install/usr/share/glib-2.0 $fs/usr/share
54 }
56 # Post install/remove commands for Tazpkg.
57 post_install()
58 {
59 echo "Processing post-install commands..."
60 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
61 }
63 post_remove()
64 {
65 echo "Processing post-remove commands..."
66 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
67 }