summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 128af005bee6df2ea8d827785c52d5cfb34e0b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Yardena Cohen <yardenack at gmail dot com>

cpaname=XMLRPC-Lite
cpanauthor=PHRED
pkgname=perl-xmlrpc-lite
pkgver=0.717
pkgrel=2
pkgdesc="Perl XMLRPC::Lite CPAN module"
arch=('any')
url="https://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=('perl' 'perl-soap-lite')
source=("https://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}"
}