diff options
Diffstat (limited to 'perl-xmlrpc-lite/PKGBUILD')
-rw-r--r-- | perl-xmlrpc-lite/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/perl-xmlrpc-lite/PKGBUILD b/perl-xmlrpc-lite/PKGBUILD new file mode 100644 index 000000000..d50b21589 --- /dev/null +++ b/perl-xmlrpc-lite/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Yardena Cohen <yardenack at gmail dot com> + +_cpaname=XMLRPC-Lite +_cpanauthor=PHRED +pkgname=perl-xmlrpc-lite +pkgver=0.717 +pkgrel=1 +pkgdesc="client and server implementation of XML-RPC protocol" +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}" +} |