summaryrefslogtreecommitdiff
path: root/office/org-mode/org-mode.SlackBuild
diff options
context:
space:
mode:
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