From e09a4c87e6071d89cb0720ed51634aeefcd2f6ed Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 8 May 2017 17:42:47 +0700 Subject: [PATCH] pia-manager: Upgraded to 1.0.2. Signed-off-by: Willy Sudiarto Raharjo --- pia-manager/pia-manager.SlackBuild | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/pia-manager/pia-manager.SlackBuild b/pia-manager/pia-manager.SlackBuild index af46263..c390464 100644 --- a/pia-manager/pia-manager.SlackBuild +++ b/pia-manager/pia-manager.SlackBuild @@ -23,17 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pia-manager -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_csb} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch wget -c https://github.com/linuxmint/pia-manager/archive/$VERSION/$PRGNAM-$VERSION.tar.gz @@ -42,20 +36,6 @@ TMP=${TMP:-/tmp/csb} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG