aboutsummaryrefslogtreecommitdiff
path: root/misc/ardesia
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ardesia')
-rw-r--r--misc/ardesia/ardesia.SlackBuild21
-rw-r--r--misc/ardesia/ardesia.info6
2 files changed, 10 insertions, 17 deletions
diff --git a/misc/ardesia/ardesia.SlackBuild b/misc/ardesia/ardesia.SlackBuild
index 967dd22b4a019..a5f1ae307a791 100644
--- a/misc/ardesia/ardesia.SlackBuild
+++ b/misc/ardesia/ardesia.SlackBuild
@@ -7,7 +7,7 @@
# Public Domain
PRGNAM=ardesia
-VERSION=${VERSION:-0.8}
+VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,15 +44,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
# If you are going to blindly reset permissions, this is a bit more readable.
# However '-perm /111' may only be compatible with only gnu/find.
-find . \
- -type d -exec chmod 755 {} \; -o \
- -type f -perm /111 -exec chmod 755 {} \; -o \
- -type f -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Note, while there are no library files installed, the Make file apparently
# uses --libdir to decided where to find some of the libraries.
@@ -69,16 +70,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Make sure the Icon parameter is set properly in .desktop file
-sed -i 's/Icon=.*/Icon=ardesia/' $PKG/usr/share/applications/ardesia.desktop
-# Copy the icon to the proper folder
-mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/
-mv $PKG/usr/share/icons/ardesia.png $PKG/usr/share/icons/hicolor/48x48/apps
-
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
-# A Man page was added
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
@@ -89,7 +83,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
-# Copy the build script
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/misc/ardesia/ardesia.info b/misc/ardesia/ardesia.info
index 69cc61e355df5..03e471c581486 100644
--- a/misc/ardesia/ardesia.info
+++ b/misc/ardesia/ardesia.info
@@ -1,8 +1,8 @@
PRGNAM="ardesia"
-VERSION="0.8"
+VERSION="1.1"
HOMEPAGE="http://code.google.com/p/ardesia/"
-DOWNLOAD="http://ardesia.googlecode.com/files/ardesia-0.8.tar.bz2"
-MD5SUM="f63cd6851498b2f8603ff59d736a136a"
+DOWNLOAD="http://ardesia.googlecode.com/files/ardesia-1.1.tar.gz"
+MD5SUM="b0abe145ce4ade50ab897ec658d2d664"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gsl"