aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:34:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:34:50 +0200
commit2819a846103dc5be2bed47efad52b61860bf31fb (patch)
tree56c4b1ab62a733146093ebafab759eed28e82ef2
parente7a44936f9b5378fde4be59cc4a90e69a7c31af3 (diff)
multimedia/grip: Updated for version 2.96
-rw-r--r--multimedia/grip/README1
-rw-r--r--multimedia/grip/grip.SlackBuild22
-rw-r--r--multimedia/grip/grip.desktop1
-rw-r--r--multimedia/grip/grip.info4
4 files changed, 14 insertions, 14 deletions
diff --git a/multimedia/grip/README b/multimedia/grip/README
index 8e298348400a8..8417f35c29d71 100644
--- a/multimedia/grip/README
+++ b/multimedia/grip/README
@@ -12,4 +12,3 @@ Before running grip for the first time, you may want to copy the file
"/usr/doc/grip-2.96/dot.grip.sample" to "$HOME/.grip". This sets the
default encoder to oggenc, and puts the track number at the front of
each output filename.
-
diff --git a/multimedia/grip/grip.SlackBuild b/multimedia/grip/grip.SlackBuild
index 58f06bad7f5c3..ffd3b609fd2ac 100644
--- a/multimedia/grip/grip.SlackBuild
+++ b/multimedia/grip/grip.SlackBuild
@@ -34,7 +34,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-# Slack 12.2 keeps cdda headers in /usr/include/cdda, 12.1 has them
+# Slack 12.2 and up keeps cdda headers in /usr/include/cdda, 12.1 has them
# in /usr/include itself. Be adaptable.
if [ -r /usr/include/cdda/cdda_interface.h ]; then
SLKCFLAGS="$SLKCFLAGS -I/usr/include/cdda"
@@ -54,7 +54,7 @@ make
# DESTDIR not supported.
make install PREFIX=$PKG/usr
-strip $PKG/usr/bin/*
+strip --strip-unneeded $PKG/usr/bin/*
rm -f $PKG/usr/man/man1/gcd.1
gzip $PKG/usr/man/man1/$PRGNAM.1
@@ -63,20 +63,20 @@ gzip $PKG/usr/man/man1/$PRGNAM.1
# Why does it create an empty usr/lib dir?
rm -rf $PKG/usr/lib
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/dot.grip.sample CHANGES CREDITS LICENSE README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp $CWD/grip.desktop $PKG/usr/share/applications
cp pixmaps/grip.xpm $PKG/usr/share/pixmaps
-mkdir -p $PKG/usr/share/applications
-cp $CWD/grip.desktop $PKG/usr/share/applications
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $CWD/dot.grip.sample CHANGES CREDITS LICENSE README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc ; chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/grip/grip.desktop b/multimedia/grip/grip.desktop
index 2e2583ef8a320..168f92fa31507 100644
--- a/multimedia/grip/grip.desktop
+++ b/multimedia/grip/grip.desktop
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8
Name=Grip
Exec=grip
Type=Application
diff --git a/multimedia/grip/grip.info b/multimedia/grip/grip.info
index 7692bd541c96c..ecae43daf8d15 100644
--- a/multimedia/grip/grip.info
+++ b/multimedia/grip/grip.info
@@ -3,6 +3,8 @@ VERSION="2.96"
HOMEPAGE="http://nostatic.org/grip/"
DOWNLOAD="http://downloads.sourceforge.net/grip/grip-2.96.tgz"
MD5SUM="29d03b2874c5cb60096ac3051fbbc4e3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="dsomero"
+APPROVED="rworkman"