summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-06-21 09:47:36 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-06-21 09:47:36 -0300
commit9054cc7f462fa7247c0acb2240fd11205a113108 (patch)
tree1f4d853d464f1ac8dd375a51235dfb27bc61546e
parent81c257897ce134f126074ac78a7342efed38915a (diff)
downloadslackbuilds-9054cc7f462fa7247c0acb2240fd11205a113108.tar.gz
audio/rakarrack: Updated for version 0.6.1.
-rw-r--r--audio/rakarrack/docdir.diff98
-rw-r--r--audio/rakarrack/doinst.sh3
-rw-r--r--audio/rakarrack/rakarrack.SlackBuild10
-rw-r--r--audio/rakarrack/rakarrack.info8
4 files changed, 10 insertions, 109 deletions
diff --git a/audio/rakarrack/docdir.diff b/audio/rakarrack/docdir.diff
deleted file mode 100644
index 29f8a23440..0000000000
--- a/audio/rakarrack/docdir.diff
+++ /dev/null
@@ -1,98 +0,0 @@
-diff -Naur rakarrack-0.3.0/configure rakarrack-0.3.0.patched/configure
---- rakarrack-0.3.0/configure 2008-11-13 22:14:43.000000000 -0500
-+++ rakarrack-0.3.0.patched/configure 2009-11-20 03:19:54.000000000 -0500
-@@ -7761,7 +7761,7 @@
- fi
-
- DATADIR="$prefix/share/${PACKAGE}"
--HELPDIR="$prefix/share/doc/${PACKAGE}"
-+HELPDIR="$docdir"
-
-
- cat >>confdefs.h <<_ACEOF
-diff -Naur rakarrack-0.3.0/doc/Makefile.am rakarrack-0.3.0.patched/doc/Makefile.am
---- rakarrack-0.3.0/doc/Makefile.am 2008-11-05 08:45:13.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/Makefile.am 2009-11-20 03:14:22.000000000 -0500
-@@ -1,5 +1,5 @@
- SUBDIRS = help
--docdir = $(prefix)/share/doc/${PACKAGE}
-+docdir = @docdir@
- doc_DATA= COPYING
-
- EXTRA_DIST = $(doc_DATA)
-diff -Naur rakarrack-0.3.0/doc/Makefile.in rakarrack-0.3.0.patched/doc/Makefile.in
---- rakarrack-0.3.0/doc/Makefile.in 2008-11-13 22:14:43.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/Makefile.in 2009-11-20 03:14:29.000000000 -0500
-@@ -127,7 +127,7 @@
- build_alias = @build_alias@
- datadir = @datadir@
- datarootdir = @datarootdir@
--docdir = $(prefix)/share/doc/${PACKAGE}
-+docdir = @docdir@
- dvidir = @dvidir@
- exec_prefix = @exec_prefix@
- host_alias = @host_alias@
-diff -Naur rakarrack-0.3.0/doc/help/Makefile.am rakarrack-0.3.0.patched/doc/help/Makefile.am
---- rakarrack-0.3.0/doc/help/Makefile.am 2008-11-05 08:45:13.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/Makefile.am 2009-11-20 03:13:17.000000000 -0500
-@@ -1,5 +1,5 @@
- SUBDIRS = imagenes css
--docdir = $(prefix)/share/doc/${PACKAGE}/html
-+docdir = @docdir@/html
- doc_DATA= help.html \
- license.html \
- help_es.html
-diff -Naur rakarrack-0.3.0/doc/help/Makefile.in rakarrack-0.3.0.patched/doc/help/Makefile.in
---- rakarrack-0.3.0/doc/help/Makefile.in 2008-11-13 22:14:43.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/Makefile.in 2009-11-20 03:13:29.000000000 -0500
-@@ -127,7 +127,7 @@
- build_alias = @build_alias@
- datadir = @datadir@
- datarootdir = @datarootdir@
--docdir = $(prefix)/share/doc/${PACKAGE}/html
-+docdir = @docdir@/html
- dvidir = @dvidir@
- exec_prefix = @exec_prefix@
- host_alias = @host_alias@
-diff -Naur rakarrack-0.3.0/doc/help/css/Makefile.am rakarrack-0.3.0.patched/doc/help/css/Makefile.am
---- rakarrack-0.3.0/doc/help/css/Makefile.am 2008-11-05 08:45:13.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/css/Makefile.am 2009-11-20 03:12:46.000000000 -0500
-@@ -1,4 +1,4 @@
--docdir = $(prefix)/share/doc/${PACKAGE}/html/css
-+docdir = @docdir@/html/css
- doc_DATA= kde-default.css
-
- EXTRA_DIST = $(doc_DATA)
-diff -Naur rakarrack-0.3.0/doc/help/css/Makefile.in rakarrack-0.3.0.patched/doc/help/css/Makefile.in
---- rakarrack-0.3.0/doc/help/css/Makefile.in 2008-11-13 22:14:43.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/css/Makefile.in 2009-11-20 03:13:03.000000000 -0500
-@@ -118,7 +118,7 @@
- build_alias = @build_alias@
- datadir = @datadir@
- datarootdir = @datarootdir@
--docdir = $(prefix)/share/doc/${PACKAGE}/html/css
-+docdir = @docdir@/html/css
- dvidir = @dvidir@
- exec_prefix = @exec_prefix@
- host_alias = @host_alias@
-diff -Naur rakarrack-0.3.0/doc/help/imagenes/Makefile.am rakarrack-0.3.0.patched/doc/help/imagenes/Makefile.am
---- rakarrack-0.3.0/doc/help/imagenes/Makefile.am 2008-11-05 08:45:14.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/imagenes/Makefile.am 2009-11-20 03:13:45.000000000 -0500
-@@ -1,4 +1,4 @@
--docdir = $(prefix)/share/doc/${PACKAGE}/html/imagenes
-+docdir = @docdir@/html/imagenes
- doc_DATA= icono_rakarrack_128x128.png \
- screen.png \
- jack_conections.jpg \
-diff -Naur rakarrack-0.3.0/doc/help/imagenes/Makefile.in rakarrack-0.3.0.patched/doc/help/imagenes/Makefile.in
---- rakarrack-0.3.0/doc/help/imagenes/Makefile.in 2008-11-13 22:14:43.000000000 -0500
-+++ rakarrack-0.3.0.patched/doc/help/imagenes/Makefile.in 2009-11-20 03:13:54.000000000 -0500
-@@ -118,7 +118,7 @@
- build_alias = @build_alias@
- datadir = @datadir@
- datarootdir = @datarootdir@
--docdir = $(prefix)/share/doc/${PACKAGE}/html/imagenes
-+docdir = @docdir@/html/imagenes
- dvidir = @dvidir@
- exec_prefix = @exec_prefix@
- host_alias = @host_alias@
diff --git a/audio/rakarrack/doinst.sh b/audio/rakarrack/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/audio/rakarrack/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/audio/rakarrack/rakarrack.SlackBuild b/audio/rakarrack/rakarrack.SlackBuild
index 2a5d74ca48..9156bea876 100644
--- a/audio/rakarrack/rakarrack.SlackBuild
+++ b/audio/rakarrack/rakarrack.SlackBuild
@@ -5,16 +5,14 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=rakarrack
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -44,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -53,9 +51,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# --docdir fails to propagate down to all the Makefiles, fix it
-patch -p1 < $CWD/docdir.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,6 +75,7 @@ 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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/rakarrack/rakarrack.info b/audio/rakarrack/rakarrack.info
index 11b93f198f..946dadf779 100644
--- a/audio/rakarrack/rakarrack.info
+++ b/audio/rakarrack/rakarrack.info
@@ -1,10 +1,10 @@
PRGNAM="rakarrack"
-VERSION="0.3.0"
+VERSION="0.6.1"
HOMEPAGE="http://rakarrack.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/rakarrack/rakarrack/rakarrack-0.3.0/rakarrack-0.3.0.tar.gz"
-MD5SUM="2f289052e382d97f308cd4c95cbbde9c"
+DOWNLOAD="http://downloads.sourceforge.net/project/rakarrack/rakarrack/rakarrack-0.6.1/rakarrack-0.6.1.tar.bz2"
+MD5SUM="56b1e04779ae3d56cc8a3ad3c4e25152"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="rworkman"
+APPROVED="Niels Horn"