libraries/PDCurses: Updated for version 3.8.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Narron 2019-09-08 11:25:51 +07:00 committed by Willy Sudiarto Raharjo
parent 02d057765c
commit d5d5259a78
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -1,8 +1,8 @@
PRGNAM="PDCurses"
VERSION="3.6"
VERSION="3.8"
HOMEPAGE="http://pdcurses.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/project/pdcurses/pdcurses/3.6/PDCurses-3.6.tar.gz"
MD5SUM="4a1994e480282418d11bf8b3ead38be5"
DOWNLOAD="http://downloads.sourceforge.net/project/pdcurses/pdcurses/3.8/PDCurses-3.8.tar.gz"
MD5SUM="0147936a2510617486ba3f5658b9bfa6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""