aboutsummaryrefslogtreecommitdiff
path: root/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-13 00:32:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:32:57 +0200
commit178abcacf13d71040b4a78be4a4b1ce512b1ba51 (patch)
tree3a790626b7c073e509dfe61ae6991c1bbd47e549 /libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
parentd2fb718fb870252a7c20d83de7bfcb01dab1a2da (diff)
libraries/perl-xml-libxml: Updated for version 1.64
Diffstat (limited to 'libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild')
-rw-r--r--libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild b/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
index 68ab54c208399..fd5f45d6f21ff 100644
--- a/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
+++ b/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=perl-xml-libxml
SRCNAM=XML-LibXML
VERSION=1.64
-ARCH=noarch
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -41,12 +41,9 @@ make \
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
-
-# Remove perlocal.pod and .packlist from $PKG
-( for i in perllocal.pod .packlist; do
- find $PKG -name "$i" -exec rm -f {} \;
- done
-) || exit 1
+( cd $PKG
+ find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+)
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
@@ -60,4 +57,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}