diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-05-19 11:44:47 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-21 01:17:12 -0500 |
commit | df1bd0558135716098b1ec5301b9945f267b7f92 (patch) | |
tree | 1b8e653d6f0cba9c0a6952c429b6f313679596d4 | |
parent | cc1b79afa5d0e18a0bfa9d77800e44086e4254da (diff) |
desktop/thunar-vcs-plugin: Miscellaneous cleanups.
-rw-r--r-- | desktop/thunar-vcs-plugin/doinst.sh | 1 | ||||
-rw-r--r-- | desktop/thunar-vcs-plugin/slack-desc | 16 | ||||
-rw-r--r-- | desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild | 14 |
3 files changed, 21 insertions, 10 deletions
diff --git a/desktop/thunar-vcs-plugin/doinst.sh b/desktop/thunar-vcs-plugin/doinst.sh index 922f8a99be4d6..1f8ff67dedb29 100644 --- a/desktop/thunar-vcs-plugin/doinst.sh +++ b/desktop/thunar-vcs-plugin/doinst.sh @@ -8,4 +8,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi - diff --git a/desktop/thunar-vcs-plugin/slack-desc b/desktop/thunar-vcs-plugin/slack-desc index 74ba0ca0d6634..14f7e9a58ee32 100644 --- a/desktop/thunar-vcs-plugin/slack-desc +++ b/desktop/thunar-vcs-plugin/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler-----------------------------------------------------| thunar-vcs-plugin: thunar-vcs-plugin (Version Control System plugin for Thunar) -thunar-vcs-plugin: +thunar-vcs-plugin: thunar-vcs-plugin: The Thunar VCS Plugin adds Git and Subversion actions to the thunar-vcs-plugin: context menu of thunar. -thunar-vcs-plugin: -thunar-vcs-plugin: -thunar-vcs-plugin: -thunar-vcs-plugin: -thunar-vcs-plugin: -thunar-vcs-plugin: -thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: +thunar-vcs-plugin: diff --git a/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild b/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild index b1663f78a3a3c..5f35bb55c7341 100644 --- a/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild +++ b/desktop/thunar-vcs-plugin/thunar-vcs-plugin.SlackBuild @@ -24,10 +24,19 @@ PRGNAM=thunar-vcs-plugin VERSION=0.1.2 -ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -42,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e |