summaryrefslogtreecommitdiff
path: root/system/seahorse/seahorse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/seahorse/seahorse.SlackBuild')
-rw-r--r--system/seahorse/seahorse.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/seahorse/seahorse.SlackBuild b/system/seahorse/seahorse.SlackBuild
index 9f0bfeb502..ef355ee627 100644
--- a/system/seahorse/seahorse.SlackBuild
+++ b/system/seahorse/seahorse.SlackBuild
@@ -2,17 +2,20 @@
# Slackware build script for seahorse
-# Written by Andrew Rowland (darowland@ieee.org)
+# Written by Andrew Rowland (weibullguy@gmail.com)
+# Updated to version 3.8.1 by Andrew Rowland
PRGNAM=seahorse
-VERSION=${VERSION:-3.4.1}
+VERSION=${VERSION:-3.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -42,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -51,9 +54,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Thanks gentoo for this
-patch -p1 < $CWD/seahorse-3.4.1-g_clear_object.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -63,8 +63,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-scrollkeeper \
- --enable-debug=no \
--build=$ARCH-slackware-linux
make