From 143f0e459ab9edf40896180b068cb30c03047cc6 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sun, 17 Jun 2018 17:40:32 +0530 Subject: system/openrc-services: Updated for version 20180617. Signed-off-by: Willy Sudiarto Raharjo --- system/openrc-services/openrc-services.SlackBuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'system/openrc-services/openrc-services.SlackBuild') diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild index ca18968186..56876f7f5c 100644 --- a/system/openrc-services/openrc-services.SlackBuild +++ b/system/openrc-services/openrc-services.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for openrc-services # Based upon https://github.com/manjaro/packages-openrc -# Copyright 2015-2017 Aaditya Bagga +# Copyright 2015-2018 Aaditya Bagga # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,16 +24,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openrc-services -VERSION=${VERSION:-20171007} +VERSION=${VERSION:-20180617} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -_GITNAM=aadityabagga-${PRGNAM}-ng -_GITVER=f8d107ecbca7 +_SRCNAM=${PRGNAM}-ng if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,9 +62,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $_GITNAM-$_GITVER -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$_GITNAM-$_GITVER.tar.gz -cd $_GITNAM-$_GITVER +rm -rf $_SRCNAM-$VERSION +tar xvf $CWD/$_SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +cd $_SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3