summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Aaditya Bagga <aaditya_gnulinux@zoho.com>2018-06-17 17:40:32 +0530
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-12 19:03:39 +0700
commitf724bf9f12635abe093aeedc6258252778b4625b (patch)
treeecd77876315b31051d03735fe449c8cdcb7d6edb
parent9ee0095cc9cdd31d30569fa9c6fa90736928fd76 (diff)
downloadslackbuilds-f724bf9f1.tar.gz
slackbuilds-f724bf9f1.tar.xz
system/openrc-services: Updated for version 20180617.
-rw-r--r--system/openrc-services/openrc-services.SlackBuild19
-rw-r--r--system/openrc-services/openrc-services.info8
2 files changed, 13 insertions, 14 deletions
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 <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 \
diff --git a/system/openrc-services/openrc-services.info b/system/openrc-services/openrc-services.info
index 552242d481..2473fe83b5 100644
--- a/system/openrc-services/openrc-services.info
+++ b/system/openrc-services/openrc-services.info
@@ -1,8 +1,8 @@
PRGNAM="openrc-services"
-VERSION="20171007"
-HOMEPAGE="https://bitbucket.org/aadityabagga/openrc-services-ng"
-DOWNLOAD="https://bitbucket.org/aadityabagga/openrc-services-ng/get/20171007.tar.gz"
-MD5SUM="536d4c6d37ba80d6f57c65eb80f96a27"
+VERSION="20180617"
+HOMEPAGE="https://gitlab.com/aadityabagga/openrc-services-ng"
+DOWNLOAD="https://gitlab.com/aadityabagga/openrc-services-ng/-/archive/20180617/openrc-services-ng-20180617.tar.gz"
+MD5SUM="9007a7239898c0868e3ac30c6ca7e8f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openrc"