summaryrefslogtreecommitdiff
path: root/audio/pd/pd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pd/pd.SlackBuild')
-rw-r--r--audio/pd/pd.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild
index 81cbf40658..821f9c3d09 100644
--- a/audio/pd/pd.SlackBuild
+++ b/audio/pd/pd.SlackBuild
@@ -9,7 +9,7 @@
# No additional license terms
PRGNAM=pd
-SRC_VERSION=0.40-3
+SRC_VERSION=0.42-4
VERSION=$(echo $SRC_VERSION | tr - .)
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
@@ -36,9 +36,6 @@ cd $PRGNAM-$SRC_VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Fix DESTDIR support in the makefile source
-patch -p1 < $CWD/makefile.in.DESTDIR.diff
-
cd src
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -52,7 +49,6 @@ cd src
--enable-setuid
make
make install \
- pddocdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
cd -
@@ -65,6 +61,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL.txt README.txt LICENSE.txt src/CHANGELOG.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc