diff options
Diffstat (limited to 'source/a/devs')
-rwxr-xr-x | source/a/devs/devs.SlackBuild | 16 | ||||
-rw-r--r-- | source/a/devs/slack-desc | 8 |
2 files changed, 17 insertions, 7 deletions
diff --git a/source/a/devs/devs.SlackBuild b/source/a/devs/devs.SlackBuild index 61ddf33b..22b326a3 100755 --- a/source/a/devs/devs.SlackBuild +++ b/source/a/devs/devs.SlackBuild @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/bash -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -20,11 +20,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=devs VERSION=2.3.1 ARCH=noarch BUILD=${BUILD:-25} -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + TMP=${TMP:-/tmp} PKG=$TMP/package-devs diff --git a/source/a/devs/slack-desc b/source/a/devs/slack-desc index e8b5d1d5..853c2b4a 100644 --- a/source/a/devs/slack-desc +++ b/source/a/devs/slack-desc @@ -1,8 +1,8 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line +# The "handy ruler" below makes it easier to edit a package description. Line # up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| @@ -10,7 +10,7 @@ devs: devs (system device files) devs: devs: This package creates special files in the /dev directory that devs: represent your system's hardware, and a tool (/dev/MAKEDEV) for -devs: creating new device files. These files are required to access +devs: creating new device files. These files are required to access devs: hardware on a Linux system. devs: devs: |