summaryrefslogtreecommitdiffstats
path: root/audio/fIcy
diff options
context:
space:
mode:
Diffstat (limited to 'audio/fIcy')
-rw-r--r--audio/fIcy/fIcy.SlackBuild22
-rw-r--r--audio/fIcy/fIcy.info6
2 files changed, 16 insertions, 12 deletions
diff --git a/audio/fIcy/fIcy.SlackBuild b/audio/fIcy/fIcy.SlackBuild
index 323e823d50..70ed0bbb89 100644
--- a/audio/fIcy/fIcy.SlackBuild
+++ b/audio/fIcy/fIcy.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fIcy
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fIcy
VERSION=${VERSION:-1.0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -47,11 +54,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
make CXXFLAGS="$SLKCFLAGS"
@@ -75,4 +79,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
diff --git a/audio/fIcy/fIcy.info b/audio/fIcy/fIcy.info
index 05b9fb2510..0851bc6c61 100644
--- a/audio/fIcy/fIcy.info
+++ b/audio/fIcy/fIcy.info
@@ -1,10 +1,10 @@
PRGNAM="fIcy"
VERSION="1.0.21"
-HOMEPAGE="http://www.thregr.org/~wavexx/software/fIcy/"
-DOWNLOAD="http://www.thregr.org/~wavexx/software/fIcy/releases/fIcy-1.0.21.tar.gz"
+HOMEPAGE="https://www.thregr.org/~wavexx/software/fIcy/"
+DOWNLOAD="https://www.thregr.org/~wavexx/software/fIcy/releases/fIcy-1.0.21.tar.gz"
MD5SUM="7983b66601b35b1cee0dc7bcc1ca1389"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"