summaryrefslogtreecommitdiffstats
path: root/libraries/PDCurses/PDCurses.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/PDCurses/PDCurses.SlackBuild')
-rw-r--r--libraries/PDCurses/PDCurses.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/PDCurses/PDCurses.SlackBuild b/libraries/PDCurses/PDCurses.SlackBuild
index 3a7bc0dba7..dc0cf4c4c6 100644
--- a/libraries/PDCurses/PDCurses.SlackBuild
+++ b/libraries/PDCurses/PDCurses.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=PDCurses
-VERSION=${VERSION:-3.6}
+VERSION=${VERSION:-3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,8 +63,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-cp -p x11/Makefile.in x11/Makefile.in.orig
-cat $CWD/PDCurses-3.6-makefile-in.patch | patch -p0
+cat $CWD/PDCurses-3.6-makefile-in.patch | patch -b -p0
chown -R root:root .
find -L . \
@@ -87,7 +86,6 @@ CXXFLAGS="$SLKCFLAGS" \
--x-libraries=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
-
make
make install DESTDIR=$PKG
@@ -97,7 +95,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HISTORY.md IMPLEMNT.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a man/HISTORY.md man/IMPLEMNT.md man/MANUAL.md man/README.md man/USERS.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install