blob: 9b4024d935f50ec1dee89e76cd431def1a7b95bd (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
#
pkgname=perl-xml-descent
_cpanname=XML-Descent
pkgver=1.04
pkgrel=2
pkgdesc="Recursive descent XML parsing"
arch=('any')
url="https://metacpan.org/release/$_cpanname"
license=('PerlArtistic')
depends=('perl-xml-tokeparser')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/A/AN/ANDYA/${_cpanname}-${pkgver}.tar.gz")
md5sums=('9e00f2c1a31d8cacd91fb23a30dc6fc6')
build() {
cd "$srcdir/$_cpanname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/${_cpanname}-${pkgver}"
make DESTDIR="$pkgdir" install
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|