aboutsummaryrefslogtreecommitdiff
path: root/desktop/notion/notion.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-06-02 08:36:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-02 08:36:25 +0700
commita1b0a38c4dc724c5ba47056349b15cea404f6946 (patch)
treee1569406dec0087016ec442771bb37c1e80806b0 /desktop/notion/notion.SlackBuild
parente89bea7b52e30593197d9d9624ed55179684a920 (diff)
desktop/notion: Updated for version 3_2014052800.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/notion/notion.SlackBuild')
-rw-r--r--desktop/notion/notion.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild
index 3a94cdc361169..eac27eca4ce0c 100644
--- a/desktop/notion/notion.SlackBuild
+++ b/desktop/notion/notion.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=notion
-VERSION=${VERSION:-3_2014010900}
+VERSION=${VERSION:-3_2014052800}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,8 +55,6 @@ else
LIBDIRSUFFIX=""
fi
-SRCVER=$(echo $VERSION | tr _ - )
-
set -e
rm -rf $PKG
@@ -97,11 +96,20 @@ make install \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+# Install an xinitrc script
+mkdir -p $PKG/etc/X11/xinit
+install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}