libraries/libpgf: Add SlackBuild script to doc.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-05-07 19:10:29 +07:00
parent 32711055c4
commit ff33646b80
1 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@
PRGNAM=libpgf
VERSION=${VERSION:-6.14.12}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -67,7 +67,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
fromdos < configure.ac > configure.ac.new
fromdos < configure.ac > configure.ac.new
mv configure.ac.new configure.ac
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@ -90,6 +90,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL README $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