diff options
author | Evan Hisey <ehisey@gmail.com> | 2010-05-11 22:22:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:22:32 +0200 |
commit | 8f8f04a0077ecf2551959f6b587a474d6796cd46 (patch) | |
tree | 5c5f25866c9bcc7874894cb0095a9761e8dbcd91 /development/geany/geany.SlackBuild | |
parent | 5cd1d3fef06b41ca40387edd9be151c9ae52158e (diff) |
development/geany: Updated for version 0.14
Diffstat (limited to 'development/geany/geany.SlackBuild')
-rw-r--r-- | development/geany/geany.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/development/geany/geany.SlackBuild b/development/geany/geany.SlackBuild index acbc105f79579..fed8e1b920b8d 100644 --- a/development/geany/geany.SlackBuild +++ b/development/geany/geany.SlackBuild @@ -4,15 +4,14 @@ # Written by Evan Hisey <ehisey@gmail.com> # Modified by Robby Workman <rworkman@slackbuilds.org> - -# Exit on most errors -set -e +# Modified by Michiel v. Wessem <michiel@slackbuilds.org> PRGNAM=geany -VERSION=0.13 +VERSION=0.14 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -22,13 +21,17 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi +set -e # Exit on most errors + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -57,10 +60,8 @@ make install DESTDIR=$PKG for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done ) - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/{geany/GPL-2,doc/geany/*} $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc +mv $PKG/usr/share/geany/GPL-2 $PKG/usr/doc/$PRGNAM-$VERSION cp -a INSTALL THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |