aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-29 05:13:13 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:00 +0700
commit46e4b8406b482ea354cc6596155ab5b30e7ec85e (patch)
treec7e7b3e85c72a378b8d129bbcefd39c119dd46d3 /graphics
parentd681eb2f3f8108fb989ae3863ebb8ed7cef80c79 (diff)
graphics/graph-easy: Remove .packlist.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graph-easy/graph-easy.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/graph-easy/graph-easy.SlackBuild b/graphics/graph-easy/graph-easy.SlackBuild
index 3b23a58977c76..39526703587a4 100644
--- a/graphics/graph-easy/graph-easy.SlackBuild
+++ b/graphics/graph-easy/graph-easy.SlackBuild
@@ -16,14 +16,15 @@
# 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
+# 20230629 bkw: modified by SlackBuilds.org, BUILD=3: get rid of .packlist
+# 20230304 bkw: modified by SlackBuilds.org, BUILD=2: get rid of perllocal.pod
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=graph-easy
SRCNAM=Graph-Easy
VERSION=${VERSION:-0.76}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,9 +73,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
perl Makefile.PL \
PREFIX=/usr \
@@ -91,7 +92,7 @@ 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
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README TODO CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION