development/geany: Updated for version 0.14

This commit is contained in:
Evan Hisey 2010-05-11 22:22:32 +02:00 committed by Robby Workman
parent 5cd1d3fef0
commit 8f8f04a007
5 changed files with 16 additions and 21 deletions

View file

@ -1,10 +1,4 @@
geany 0.13 Small Fast GTK2 IDE
Geany is a text editor using the GTK2 toolkit with basic features of an Geany is a text editor using the GTK2 toolkit with basic features of an
integrated development environment. It was developed to provide a integrated development environment. It was developed to provide a
small and fast IDE, which has only a few dependencies from other small and fast IDE, which has only a few dependencies from other
packages. It supports many filetypes and has some nice features. packages. It supports many filetypes and has some nice features.

View file

@ -1,3 +1,3 @@
if [ -x usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database -q usr/share/applications /usr/bin/update-desktop-database -q usr/share/applications
fi fi

View file

@ -4,15 +4,14 @@
# Written by Evan Hisey <ehisey@gmail.com> # Written by Evan Hisey <ehisey@gmail.com>
# Modified by Robby Workman <rworkman@slackbuilds.org> # Modified by Robby Workman <rworkman@slackbuilds.org>
# Modified by Michiel v. Wessem <michiel@slackbuilds.org>
# Exit on most errors
set -e
PRGNAM=geany PRGNAM=geany
VERSION=0.13 VERSION=0.14
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
@ -22,13 +21,17 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi fi
set -e # Exit on most errors
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . 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 for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
) )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/{geany/GPL-2,doc/geany/*} $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/geany/GPL-2 $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
cp -a INSTALL THANKS $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="geany" PRGNAM="geany"
VERSION="0.13" VERSION="0.14"
HOMEPAGE="http://geany.uvena.de/Main/HomePage" HOMEPAGE="http://geany.uvena.de/Main/HomePage"
DOWNLOAD="http://downloads.sourceforge.net/geany/geany-0.13.tar.bz2" DOWNLOAD="http://downloads.sourceforge.net/geany/geany-0.14.tar.bz2"
MD5SUM="0dc4f30b5ee9132f136fd3e7e4f02e0c" MD5SUM="c6c22c7f9feff81a15f5c8ece03b87c1"
MAINTAINER="Evan Hisey" MAINTAINER="Evan Hisey"
EMAIL="ehisey@gmail.com" EMAIL="ehisey@gmail.com"
APPROVED="Michiel" APPROVED="rworkman"

View file

@ -6,7 +6,7 @@
# leave one space after the ':'. # leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
geany: Geany (A small and lightweight Integrated Development Environment) geany: Geany (small and lightweight Integrated Development Environment)
geany: geany:
geany: Geany is a text editor using the GTK2 toolkit with basic features of geany: Geany is a text editor using the GTK2 toolkit with basic features of
geany: an integrated development environment. It was developed to provide a geany: an integrated development environment. It was developed to provide a