summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild13
-rw-r--r--libraries/perl-xml-libxml/perl-xml-libxml.info2
2 files changed, 7 insertions, 8 deletions
diff --git a/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild b/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
index 68ab54c208..fd5f45d6f2 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}
diff --git a/libraries/perl-xml-libxml/perl-xml-libxml.info b/libraries/perl-xml-libxml/perl-xml-libxml.info
index 11e7257977..15157a4faf 100644
--- a/libraries/perl-xml-libxml/perl-xml-libxml.info
+++ b/libraries/perl-xml-libxml/perl-xml-libxml.info
@@ -2,7 +2,9 @@ PRGNAM="perl-xml-libxml"
VERSION="1.64"
HOMEPAGE="http://search.cpan.org/~pajas/XML-LibXML-1.64/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.64.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="563a685d2aad2ace13a55acfeb818912"
+MD5SUM_x86_64=""
MAINTAINER="Murat D. Kadirov"
EMAIL="banderols@gmail.com"
APPROVED="rworkman"