summaryrefslogtreecommitdiff
path: root/office/org-mode/org-mode.SlackBuild
diff options
context:
space:
mode:
authorValeriy Timchenko <ValTimchenko@gmail.com>2011-05-31 23:20:59 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:39 -0400
commitff542adb16230d6a23204ecd9227da143d1a3814 (patch)
tree3a44a7cbc69511b2edda1c80e9086a5593319df7 /office/org-mode/org-mode.SlackBuild
parentc7051ad9b4b1f082fccc8ba43b9438c1f2606395 (diff)
downloadslackbuilds-ff542adb16230d6a23204ecd9227da143d1a3814.tar.gz
office/org-mode: Updated for version 7.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/org-mode/org-mode.SlackBuild')
-rw-r--r--office/org-mode/org-mode.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/office/org-mode/org-mode.SlackBuild b/office/org-mode/org-mode.SlackBuild
index 64bfa6891d..a6f4c34c1a 100644
--- a/office/org-mode/org-mode.SlackBuild
+++ b/office/org-mode/org-mode.SlackBuild
@@ -5,7 +5,7 @@
# Written by Valeriy Timchenko <ValTimchenko@gmail.com>
PRGNAM=org-mode
-VERSION=${VERSION:-7.4}
+VERSION=${VERSION:-7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ find . \
patch Makefile $CWD/Makefile.patch
DESTDIR=/usr make all pdf html
DESTDIR=$PKG/usr make install
-DESTDIR=$PKG/usr PKG=$PKG make install-info
+DESTDIR=$PKG/usr PKG=$PKG make install-info
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -66,8 +66,13 @@ mv $PKG/usr/info/{org,org-$VERSION}.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Changes.org README request-assign-future.txt doc/*.pdf doc/*.html \
+ README request-assign-future.txt doc/*.pdf doc/*.html \
$PKG/usr/doc/$PRGNAM-$VERSION
+
+# Move contrib/ to /usr/share/org-mode-$VERSION
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -R contrib $PKG/usr/share/$PRGNAM-$VERSION
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install