summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-06-17 17:40:32 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-14 06:55:54 +0700
commit143f0e459ab9edf40896180b068cb30c03047cc6 (patch)
treeec162036fb6d59a3bc0bb52c53d21228d2760304 /system
parent7b238fddc80a059aeec0e901dedf185004fe9042 (diff)
downloadslackbuilds-143f0e459ab9edf40896180b068cb30c03047cc6.tar.gz
system/openrc-services: Updated for version 20180617.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-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"