diff options
Diffstat (limited to 'app/office/broffice/broffice.mkbuild')
-rw-r--r-- | app/office/broffice/broffice.mkbuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/office/broffice/broffice.mkbuild b/app/office/broffice/broffice.mkbuild index 77dd326..54c776b 100644 --- a/app/office/broffice/broffice.mkbuild +++ b/app/office/broffice/broffice.mkbuild @@ -70,7 +70,7 @@ # # PREFIX. Default /usr -[[PREFIX]]="/usr/share/broffice.org2.4" +[[PREFIX]]="/usr/share/broffice.org" # # Number of jobs @@ -170,20 +170,20 @@ rm *.rpm 2>/dev/null # Convert links to KDE cd desktop-integration -echo -e "\ninstall broffice.org-slackware-menus-2.4*.rpm" -tar xvf broffice.org-slackware-menus-2.4*.tgz -C $PKG || exit $ERROR_TAR +echo -e "\ninstall broffice.org-slackware-menus-*.rpm" +tar xvf broffice.org*-slackware-menus-*.tgz -C $PKG || exit $ERROR_TAR rm *.rpm *.deb 2>/dev/null cd .. # Change opt directory mkdir -p $PKG/usr/share -mv $PKG/opt/broffice.org2.4 $PKG/usr/share/ +mv $PKG/opt/broffice.org* $PKG/usr/share/ mv $PKG/opt/kde/share/* $PKG/usr/share/ rm -rf $PKG/opt # Change doinstall install directory -sed 's/\/opt\/broffice.org2.4/\/usr\/share\/broffice.org2.4\//' $PKG/install/doinst.sh > $PKG/install/doinst.sh.new +sed 's/\/opt\/broffice.org/\/usr\/share\/broffice.org\//' $PKG/install/doinst.sh > $PKG/install/doinst.sh.new mv $PKG/install/doinst.sh.new $PKG/install/doinst.sh #<make_package |