graphics/graph-easy: Remove perllocal.pod.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-03-04 17:15:05 -05:00 committed by Willy Sudiarto Raharjo
parent 2b0d598719
commit b5aae86402
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 6 additions and 1 deletions

View File

@ -16,12 +16,14 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# 20230304 bkw: modified by SlackBuilds.org: get rid of perllocal.pod
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=graph-easy
SRCNAM=Graph-Easy
VERSION=${VERSION:-0.76}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -88,6 +90,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
find $PKG -depth -type d -empty -delete || true
# 20230304 bkw: nope.
rm -f $PKG/usr/lib*/perl5/perllocal.pod
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README TODO CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild