diff options
Diffstat (limited to 'system/sentimental-skk')
-rw-r--r-- | system/sentimental-skk/README | 10 | ||||
-rw-r--r-- | system/sentimental-skk/sentimental-skk.SlackBuild | 16 |
2 files changed, 18 insertions, 8 deletions
diff --git a/system/sentimental-skk/README b/system/sentimental-skk/README index 85d8cfb6af..c3dede662b 100644 --- a/system/sentimental-skk/README +++ b/system/sentimental-skk/README @@ -1,8 +1,8 @@ Sentimental SKK -This program provides Simple Kana Kanji conversion (SKK) input method service -to your terminal. +This program provides Simple Kana Kanji conversion (SKK) input method +service to your terminal. -It depends on "Canossa"(https://github.com/saitoha/canossa), which is an -off-screen terminal emulation service, "Canossa" makes application enable -to restore specified screen region on demand!! +It depends on "Canossa"(https://github.com/saitoha/canossa), which is +an off-screen terminal emulation service, "Canossa" makes application +enable to restore specified screen region on demand!! diff --git a/system/sentimental-skk/sentimental-skk.SlackBuild b/system/sentimental-skk/sentimental-skk.SlackBuild index 6b093fced4..79a19aa412 100644 --- a/system/sentimental-skk/sentimental-skk.SlackBuild +++ b/system/sentimental-skk/sentimental-skk.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for sentimental-skk @@ -22,10 +22,13 @@ # 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) + PRGNAM=sentimental-skk VERSION=${VERSION:-0.0.146} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -82,4 +92,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |