summaryrefslogtreecommitdiff
path: root/audio/deadbeef/deadbeef.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/deadbeef/deadbeef.SlackBuild')
-rw-r--r--audio/deadbeef/deadbeef.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild
index 8a5688aedd..b1caf9c7b3 100644
--- a/audio/deadbeef/deadbeef.SlackBuild
+++ b/audio/deadbeef/deadbeef.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=deadbeef
VERSION=0.3.3
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -61,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--build=$ARCH-slackware-linux
@@ -74,14 +75,12 @@ make install DESTDIR=$PKG
xargs strip --strip-unneeded 2> /dev/null || true
)
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING.* ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS $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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}