wok-current diff xournal/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | 380ffe05937a |
children | feb2e0c63d21 |
line diff
1.1 --- a/xournal/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/xournal/receipt Fri Jan 30 10:17:37 2015 +0100 1.3 @@ -18,7 +18,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz" 1.9 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \ 1.10 # patch -p1 -i xournal.patch && 1.11 @@ -33,17 +32,9 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 - mkdir -p $fs/usr 1.16 + mkdir -p $fs/usr/share 1.17 + 1.18 cp -a $install/usr/bin $fs/usr 1.19 - cp -a $install/usr/share $fs/usr 1.20 + cp -a $install/usr/share/icons $fs/usr/share 1.21 + cp -a $install/usr/share/xournal $fs/usr/share 1.22 } 1.23 - 1.24 -post_install() 1.25 -{ 1.26 - echo -n "Updating databases..." 1.27 - chroot "$1/" update-desktop-database 1.28 - chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.29 - chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null 1.30 - status 1.31 -} 1.32 -