wok diff obconf/receipt @ rev 17302
fish: add deps, bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 31 09:13:15 2014 +0100 (2014-10-31) |
parents | 62b66edb40b5 |
children | 8f02a4cc54c4 |
line diff
1.1 --- a/obconf/receipt Sat Apr 05 21:37:01 2014 +0200 1.2 +++ b/obconf/receipt Fri Oct 31 09:13:15 2014 +0100 1.3 @@ -17,11 +17,9 @@ 1.4 BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \ 1.5 startup-notification-dev" 1.6 1.7 -# 1.8 # Rules to configure and make the package. 1.9 compile_rules() 1.10 { 1.11 - cd $src 1.12 ./configure $CONFIGURE_ARGS && 1.13 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && 1.14 make && make install 1.15 @@ -31,25 +29,8 @@ 1.16 genpkg_rules() 1.17 { 1.18 mkdir -p $fs/usr/share/applications 1.19 - cp -a $stuff/obconf.desktop $fs/usr/share/applications 1.20 + 1.21 cp -a $install/usr/bin $fs/usr 1.22 cp -a $install/usr/share/obconf $fs/usr/share 1.23 - cp -a stuff/mime $fs/usr/share 1.24 - touch $fs/usr/share/mime/x-openbox-theme.xml 1.25 - touch $fs/usr/share/mime/x-vbscript.xml 1.26 - touch $fs/usr/share/mime/x-ms-win-installer.xml 1.27 + cp -a $stuff/obconf.desktop $fs/usr/share/applications 1.28 } 1.29 - 1.30 -# Update mime database. 1.31 -post_install() 1.32 -{ 1.33 - chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.34 - chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications 1.35 -} 1.36 - 1.37 -# Update mime database. 1.38 -post_remove() 1.39 -{ 1.40 - chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.41 - chroot "$1/" /usr/bin/update-desktop-database /usr/share/applications 1.42 -}