diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-04-29 02:26:21 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-04-29 02:26:21 +0000 |
commit | b518da297a303ff279abcdfa33250e655ee69266 (patch) | |
tree | b3d7eab674a880a87748fd09d6654caa96f6faaa /app/office/broffice/broffice.SlackBuild | |
parent | 0ccf4e039bca3d14b98e844c4ac263eb7cf00333 (diff) | |
download | slackbuilds-b518da297a303ff279abcdfa33250e655ee69266.tar.gz slackbuilds-b518da297a303ff279abcdfa33250e655ee69266.tar.bz2 |
postfix: adding postfix mkbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2171 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/office/broffice/broffice.SlackBuild')
-rwxr-xr-x | app/office/broffice/broffice.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/office/broffice/broffice.SlackBuild b/app/office/broffice/broffice.SlackBuild index 0fe04d6f..5205b110 100755 --- a/app/office/broffice/broffice.SlackBuild +++ b/app/office/broffice/broffice.SlackBuild @@ -40,7 +40,7 @@ TMP=${TMP:=/tmp} PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} SLACKBUILD_PATH=${SLACKBUILD_PATH:="app/office/broffice"} -PREFIX=${PREFIX:=/usr/share/broffice.org2.4} +PREFIX=${PREFIX:=/usr/share/broffice.org} PKG_WORK="$TMP/$SRC_NAME" CONF_OPTIONS=${CONF_OPTIONS:=""} NUMJOBS=${NUMJOBS:=""} @@ -91,20 +91,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 # Strip binaries |