perl/perl-x11-protocol: i486=>i586, remove template comments.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
fa69a2eae5
commit
7946f3cd9c
|
@ -33,7 +33,7 @@ SRCNAM=X11-Protocol
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -71,11 +71,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
# Remove perllocal.pod and other special files that don't need to be installed,
|
||||
# as they will overwrite what's already on the system
|
||||
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -type d -empty -delete || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in New Issue