diff options
author | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
commit | f6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (patch) | |
tree | 6a508b21454687aa188deb1ef0490f1af4e7368f /perl-xmlrpc-lite/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-xmlrpc-lite/PKGBUILD')
-rw-r--r-- | perl-xmlrpc-lite/PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/perl-xmlrpc-lite/PKGBUILD b/perl-xmlrpc-lite/PKGBUILD index d50b21589..617afc03c 100644 --- a/perl-xmlrpc-lite/PKGBUILD +++ b/perl-xmlrpc-lite/PKGBUILD @@ -1,32 +1,33 @@ # Maintainer: Erich Eckner <arch at eckner dot net> # Contributor: Yardena Cohen <yardenack at gmail dot com> -_cpaname=XMLRPC-Lite +_cpanname=XMLRPC-Lite _cpanauthor=PHRED pkgname=perl-xmlrpc-lite pkgver=0.717 pkgrel=1 +_distdir="${_cpanname}-${pkgver}" pkgdesc="client and server implementation of XML-RPC protocol" arch=('any') -url="http://search.cpan.org/dist/${_cpaname}/" +url="http://search.cpan.org/dist/${_cpanname}/" 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") +source=("http://search.cpan.org/CPAN/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/${_cpanauthor}/${_distdir}.tar.gz") sha256sums=('3a9fa5f2cb1faf8b7c66b4c386eab35cac6088afc4dbc757d4f77d284dab4524') build() { - cd "${srcdir}/${_cpaname}-${pkgver}" + cd "${srcdir}/${_distdir}" perl Makefile.PL make } check() { - cd "${srcdir}/${_cpaname}-${pkgver}" + cd "${srcdir}/${_distdir}" make test } package () { - cd "${srcdir}/${_cpaname}-${pkgver}" + cd "${srcdir}/${_distdir}" make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" } |