summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-03-27 15:07:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:37 +0700
commitf8f17629245bc12d203a0f99caa07e76f6c04d19 (patch)
tree0a2e9a81b202b7c89582f0cf519c1864161ace0d
parent87582f4f4aa0aff92c2adba08a359a5bca9417d1 (diff)
downloadslackbuilds-f8f17629245bc12d203a0f99caa07e76f6c04d19.tar.gz
audio/shell-fm: Updated for version 0.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/shell-fm/shell-fm.SlackBuild23
-rw-r--r--audio/shell-fm/shell-fm.info6
2 files changed, 14 insertions, 15 deletions
diff --git a/audio/shell-fm/shell-fm.SlackBuild b/audio/shell-fm/shell-fm.SlackBuild
index 6b0a480d55..94028cc20f 100644
--- a/audio/shell-fm/shell-fm.SlackBuild
+++ b/audio/shell-fm/shell-fm.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=shell-fm
-VERSION=${VERSION:-git20130207}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"
@@ -60,21 +60,20 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+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 {} \;
+ \( -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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LDFLAGS="-lstdc++" \
+CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/audio/shell-fm/shell-fm.info b/audio/shell-fm/shell-fm.info
index 798592cb54..28956094c1 100644
--- a/audio/shell-fm/shell-fm.info
+++ b/audio/shell-fm/shell-fm.info
@@ -1,8 +1,8 @@
PRGNAM="shell-fm"
-VERSION="git20130207"
+VERSION="0.8"
HOMEPAGE="https://github.com/jkramer/shell-fm"
-DOWNLOAD="http://unrealize.co.uk/source/shell-fm-git20130207.tar.xz"
-MD5SUM="56692e9253265ca91dde3081cfd58782"
+DOWNLOAD="https://github.com/jkramer/shell-fm/archive/v0.8/shell-fm-0.8.tar.gz"
+MD5SUM="6d6aca71fb8a33562ecf614a10a45255"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""