summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild4
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.info2
2 files changed, 5 insertions, 1 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index 190f73b84a..d96334b396 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -50,6 +50,8 @@ if [ "$ARCH" = "i486" ]; then
sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -march=i486 -mtune=i686#' $TMP/$PRGNAM-$VERSION/Makefile
elif [ "$ARCH" = "i686" ]; then
sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -march=i686 -mtune=i686#' $TMP/$PRGNAM-$VERSION/Makefile
+elif [ "$ARCH" = "x86_64" ]; then
+ sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -fPIC#' $TMP/$PRGNAM-$VERSION/Makefile
fi
make || exit 1
@@ -73,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/gtk-chtheme/gtk-chtheme.info b/desktop/gtk-chtheme/gtk-chtheme.info
index 8beb40ada1..b6abe9de2a 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.info
+++ b/desktop/gtk-chtheme/gtk-chtheme.info
@@ -2,7 +2,9 @@ PRGNAM="gtk-chtheme"
VERSION="0.3.1"
HOMEPAGE="http://plasmasturm.org/code/gtk-chtheme/"
DOWNLOAD="http://plasmasturm.org/code/gtk-chtheme/gtk-chtheme-0.3.1.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="f688053bf26dd6c4f1cd0bf2ee33de2a"
+MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"
APPROVED="BP{k}"