summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/perl_modules')
-rw-r--r--abs/core-testing/perl_modules/perl-image-size/PKGBUILD24
-rw-r--r--abs/core-testing/perl_modules/perl-libxml/PKGBUILD31
-rw-r--r--abs/core-testing/perl_modules/perl-libxml/perl-libxml.install29
-rw-r--r--abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD25
-rwxr-xr-xabs/core-testing/perl_modules/perl-net-upnp/PKGBUILD23
-rw-r--r--abs/core-testing/perl_modules/perl-xml-parser/PKGBUILD24
6 files changed, 156 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-image-size/PKGBUILD b/abs/core-testing/perl_modules/perl-image-size/PKGBUILD
new file mode 100644
index 0000000..4b3d0d4
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-image-size/PKGBUILD
@@ -0,0 +1,24 @@
+# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+pkgname=perl-image-size
+pkgver=3.1
+pkgrel=2
+pkgdesc="Perl/CPAN Module XML::Parser : Flexible fast parser with plugin styles"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/MSERGEANT/XML-Parser"
+license=("GPL" "Artistic")
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-3.1.tar.gz")
+
+build() {
+ cd $startdir/src/Image-Size-3.1
+ eval `perl -V:archname`
+ /usr/bin/perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
+}
diff --git a/abs/core-testing/perl_modules/perl-libxml/PKGBUILD b/abs/core-testing/perl_modules/perl-libxml/PKGBUILD
new file mode 100644
index 0000000..864c01b
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-libxml/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD,v 1.5 2007/11/12 23:00:43 firmicus Exp $
+# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
+# Contributor: phrakture <aaron m griffin :: gmail-com>
+# Contributor: Firmicus <firmicus ατ gmx δοτ net>
+
+pkgname=perl-libxml
+pkgver=1.65
+pkgrel=1
+pkgdesc="Perl bindings for libxml2"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~pajas/XML-LibXML/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-libxml-common' 'perl-xml-sax' 'libxml2')
+options=('!emptydirs')
+install=perl-libxml.install
+source=(http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz)
+md5sums=('7871c21078f706690cda9ca68d4ddac6')
+
+build()
+{
+ cd $startdir/src/XML-LibXML-$pkgver/
+ eval `perl -V:archname`
+ SKIP_SAX_INSTALL=y perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ find $startdir/pkg -name '.packlist' -delete
+ find $startdir/pkg -name '*.pod' -delete
+}
diff --git a/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install
new file mode 100644
index 0000000..a7616f2
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-libxml/perl-libxml.install
@@ -0,0 +1,29 @@
+pre_install() {
+ /bin/true
+}
+
+post_install() {
+ echo ":: Installing SAX XML Parsers"
+ /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+ /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+}
+
+pre_upgrade() {
+ /bin/true
+}
+
+post_upgrade() {
+ /bin/true
+}
+
+pre_remove() {
+ /bin/true
+}
+
+post_remove() {
+ /bin/true
+}
+
+op=$1
+shift
+$op $*
diff --git a/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD b/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD
new file mode 100644
index 0000000..c8adc5d
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-mime-parser/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname=perl-mime-parser
+pkgver=5.420
+pkgrel=2
+pkgdesc="Perl/CPAN Module MIME::Parser : Parses streams to create MIME entities"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/DSKOLL/MIME-tools"
+license=("GPL" "Artistic")
+source=("http://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.420.tar.gz")
+md5sums=("4db6505cc0132c80c5a9cc54f443a21a")
+makedepends=("perl-io-stringy" "perl-mailtools" )
+#depends=("perl-io-stringy" "perl-mail-field" "perl-mail-header" "perl-mail-internet")
+depends=("perl-io-stringy" "perl-mailtools" )
+build() {
+ cd $startdir/src/MIME-tools-5.420
+ eval `perl -V:archname`
+ /usr/bin/perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
+}
diff --git a/abs/core-testing/perl_modules/perl-net-upnp/PKGBUILD b/abs/core-testing/perl_modules/perl-net-upnp/PKGBUILD
new file mode 100755
index 0000000..491533e
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-net-upnp/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=perl-net-upnp
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Net::UPnP::AV::MediaServer - Perl extension for UPnP."
+arch=(i686 x86_64)
+url="http://search.cpan.org/~sbeck/DateManip-$pkgver/"
+depends=('perl')
+source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/DateManip-$pkgver.tar.gz)
+source=http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-1.2.1.tar.gz
+build() {
+ cd $startdir/src/Net-UPnP-$pkgver
+ # Force module installation to "current" perl directories.
+ /usr/bin/perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${CARCH}-linux-thread-multi \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+
+ # remove perllocal.pod, .packlist, and empty dirs.
+ /bin/rm -rf $startdir/pkg/usr/lib/perl5/current
+ /bin/rm -rf $startdir/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi
+}
diff --git a/abs/core-testing/perl_modules/perl-xml-parser/PKGBUILD b/abs/core-testing/perl_modules/perl-xml-parser/PKGBUILD
new file mode 100644
index 0000000..c0fe960
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-xml-parser/PKGBUILD
@@ -0,0 +1,24 @@
+# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+pkgname=perl-xml-parser
+pkgver=2.34
+pkgrel=2
+pkgdesc="Perl/CPAN Module XML::Parser : Flexible fast parser with plugin styles"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/MSERGEANT/XML-Parser"
+license=("GPL" "Artistic")
+source=("http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz")
+md5sums=("84d9e0001fe01c14867256c3fe115899")
+build() {
+ cd $startdir/src/XML-Parser-2.34
+ eval `perl -V:archname`
+ /usr/bin/perl Makefile.PL \
+ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; && \
+ /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
+}