aboutsummaryrefslogtreecommitdiff
path: root/audio/gmpc
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:37:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:01 +0200
commitd0ad6377b8c16db42afd505fd069002474fed90c (patch)
treef34bedf46a60941cf9bcc44c6bdb0b0ba4e2483b /audio/gmpc
parent9ade3eaefc483464d4a2cb9f89a2acb2c5acd12e (diff)
audio/gmpc: Updated for version 0.17.0
Diffstat (limited to 'audio/gmpc')
-rw-r--r--audio/gmpc/README4
-rw-r--r--audio/gmpc/doinst.sh2
-rw-r--r--audio/gmpc/gmpc.SlackBuild19
-rw-r--r--audio/gmpc/gmpc.info8
-rw-r--r--audio/gmpc/slack-desc10
5 files changed, 28 insertions, 15 deletions
diff --git a/audio/gmpc/README b/audio/gmpc/README
index 92f73d3e6d6ab..518c503bfc43a 100644
--- a/audio/gmpc/README
+++ b/audio/gmpc/README
@@ -1,5 +1,3 @@
GMPC is a frontend for the mpd (Music Player Daemon). It's focused on
being fast and easy to use, while making optimal use of all the
-functions in mpd.
-
-Requires libmpd and intltool, available at SlackBuilds.org
+functions in mpd. This requires libmpd and gob2 from SlackBuilds.org.
diff --git a/audio/gmpc/doinst.sh b/audio/gmpc/doinst.sh
index 854e20633d669..140e33222297c 100644
--- a/audio/gmpc/doinst.sh
+++ b/audio/gmpc/doinst.sh
@@ -1,3 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
diff --git a/audio/gmpc/gmpc.SlackBuild b/audio/gmpc/gmpc.SlackBuild
index 962769c113f11..496b3cdd4e7c5 100644
--- a/audio/gmpc/gmpc.SlackBuild
+++ b/audio/gmpc/gmpc.SlackBuild
@@ -3,10 +3,8 @@
# Slackware build script for GMPC
# Written by Erik Hanson erik@slackbuilds.org
-set -eu
-
PRGNAM=gmpc
-VERSION=${VERSION:-0.15.5.0}
+VERSION=${VERSION:-0.17.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,8 +22,10 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
+set -eu
+
rm -rf $PKG
-mkdir -p $TMP $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
@@ -45,14 +45,21 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--disable-static \
--enable-configdir \
- --enable-artist-browser
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
+( cd $PKG/usr/man || exit 1
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/audio/gmpc/gmpc.info b/audio/gmpc/gmpc.info
index c1ae8af31c02f..60061a1e83bd1 100644
--- a/audio/gmpc/gmpc.info
+++ b/audio/gmpc/gmpc.info
@@ -1,8 +1,8 @@
PRGNAM="gmpc"
-VERSION="0.15.5.0"
+VERSION="0.17.0"
HOMEPAGE="http://sarine.nl/gmpc"
-DOWNLOAD="http://slackbuilds.org/sources/12.1//gmpc-0.15.5.0.tar.gz"
-MD5SUM="8d04d8f1bad663d037b107d1845d62e6"
+DOWNLOAD="http://download.sarine.nl/Programs/gmpc/0.17.0/gmpc-0.17.0.tar.gz"
+MD5SUM="de71d4cbfa2a6386e1604e201866b5f7"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="David Somero"
+APPROVED="rworkman"
diff --git a/audio/gmpc/slack-desc b/audio/gmpc/slack-desc
index 440780b75b2f3..5293790773e46 100644
--- a/audio/gmpc/slack-desc
+++ b/audio/gmpc/slack-desc
@@ -1,11 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# 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
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
gmpc: GMPC (a frontend for the mpd)
gmpc:
gmpc: GMPC is a frontend for the mpd (Music Player Daemon). It's focused on
gmpc: being fast and easy to use, while making optimal use of all the
gmpc: functions in mpd.
gmpc:
+gmpc: http://sarine.nl/gmpc
gmpc:
gmpc:
gmpc:
-gmpc: http://sarine.nl/gmpc
gmpc: