wok view gvfs-smb/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 6ef82f80de3c
children 6fab3264ba87
line source
1 # SliTaz package receipt.
3 PACKAGE="gvfs-smb"
4 VERSION="1.22.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Samba support for gvfs (smb:///)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org/"
11 WANTED="gvfs"
12 DEPENDS="gvfs glib glibc-base libcomerr libcomerr3 libcrypto libffi libgio \
13 libkrb5 libldap libssl pcre samba-common smbclient talloc zlib"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 . $WOK/gvfs/stuff/split
19 }
21 post_install()
22 {
23 echo "Processing post-install commands..."
24 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
25 }
27 post_remove()
28 {
29 echo "Processing post-remove commands..."
30 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
31 }