diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-06-17 17:40:32 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-14 06:55:54 +0700 |
commit | 143f0e459ab9edf40896180b068cb30c03047cc6 (patch) | |
tree | ec162036fb6d59a3bc0bb52c53d21228d2760304 /system/openrc-services/openrc-services.SlackBuild | |
parent | 7b238fddc80a059aeec0e901dedf185004fe9042 (diff) |
system/openrc-services: Updated for version 20180617.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/openrc-services/openrc-services.SlackBuild')
-rw-r--r-- | system/openrc-services/openrc-services.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild index ca18968186ec..56876f7f5cb2 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 <aaditya_gnulinux@zoho.com> +# Copyright 2015-2018 Aaditya Bagga <aaditya_gnulinux@zoho.com> # 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 \ |