aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-11 22:23:18 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:18 +0200
commit1d4819ee8e5cc8e8a8dc0ab51f509e286cb3005e (patch)
tree389c65ebdef58d4b06a4eb26de50c9b729b9dde8
parent1512a965e412ff2b39b89bf0d76600538a133b5a (diff)
graphics/rawstudio: Updated for version 1.0
-rw-r--r--graphics/rawstudio/doinst.sh4
-rw-r--r--graphics/rawstudio/rawstudio.SlackBuild26
-rw-r--r--graphics/rawstudio/rawstudio.info8
3 files changed, 15 insertions, 23 deletions
diff --git a/graphics/rawstudio/doinst.sh b/graphics/rawstudio/doinst.sh
index 22d4849bce4a9..c3651bc86702b 100644
--- a/graphics/rawstudio/doinst.sh
+++ b/graphics/rawstudio/doinst.sh
@@ -1,5 +1,5 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild
index db36c3b991337..4a7538d0f4e77 100644
--- a/graphics/rawstudio/rawstudio.SlackBuild
+++ b/graphics/rawstudio/rawstudio.SlackBuild
@@ -6,10 +6,10 @@
# Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.net)
# All rights reserved.
#
-# Redistribution and use of this script, with or without modification, is
+# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
-# 1. Redistributions of script must retain the above copyright notice,
+# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -25,10 +25,11 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Modified by Erik Hanson <erik@slackbuilds.org>
# No additional license terms :-)
-
+
PRGNAM=rawstudio
-VERSION=0.6
+VERSION=1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,22 +62,13 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man
-
+ --localstatedir=/var
+
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Compress man pages
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : \
+ | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 $PRGNAM.desktop $PKG/usr/share/applications
diff --git a/graphics/rawstudio/rawstudio.info b/graphics/rawstudio/rawstudio.info
index 68d019b243bcb..bce748659bfb9 100644
--- a/graphics/rawstudio/rawstudio.info
+++ b/graphics/rawstudio/rawstudio.info
@@ -1,8 +1,8 @@
PRGNAM="rawstudio"
-VERSION="0.6"
+VERSION="1.0"
HOMEPAGE="http://rawstudio.org/"
-DOWNLOAD="http://rawstudio.org/files/release/rawstudio-0.6.tar.gz"
-MD5SUM="92a466c9dd76c531f011563bbeddd531"
+DOWNLOAD="http://rawstudio.org/files/release/rawstudio-1.0.tar.gz"
+MD5SUM="26ddd38ccb5d74f7c7c6759dae13b7ad"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"