summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-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 8e29834840..8417f35c29 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 58f06bad7f..ffd3b609fd 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 2e2583ef8a..168f92fa31 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 7692bd541c..ecae43daf8 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"