summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2014-03-31 14:35:37 -0700
committeryar2014-03-31 14:35:37 -0700
commit3df5e28add6ab612b9cb1af02f2c2b87914ba05f (patch)
tree497284250df15aa799eb66680438665781b52175
downloadaur-3df5e28add6ab612b9cb1af02f2c2b87914ba05f.tar.gz
[perl-xmlrpc-lite] Create new
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD31
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d412892630d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = perl-xmlrpc-lite
+ pkgdesc = Perl XMLRPC::Lite CPAN module
+ pkgver = 0.717
+ pkgrel = 1
+ url = http://search.cpan.org/dist/XMLRPC-Lite/
+ arch = any
+ license = unknown
+ depends = perl
+ depends = perl-soap-lite
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/XMLRPC-Lite-0.717.tar.gz
+ sha256sums = 3a9fa5f2cb1faf8b7c66b4c386eab35cac6088afc4dbc757d4f77d284dab4524
+
+pkgname = perl-xmlrpc-lite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..897323a889b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Yardena Cohen <yardenack at gmail dot com>
+
+cpaname=XMLRPC-Lite
+cpanauthor=PHRED
+pkgname=perl-xmlrpc-lite
+pkgver=0.717
+pkgrel=1
+pkgdesc="Perl XMLRPC::Lite CPAN module"
+arch=('any')
+url="http://search.cpan.org/dist/${cpaname}/"
+license=('unknown')
+options=('!emptydirs')
+depends=('perl' 'perl-soap-lite')
+source=("http://search.cpan.org/CPAN/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
+sha256sums=('3a9fa5f2cb1faf8b7c66b4c386eab35cac6088afc4dbc757d4f77d284dab4524')
+
+build() {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ make test
+}
+
+package () {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}