blob: f9a86331dd8b5f105b052245c54b93c97cec40e5 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-xml-simple
pkgver=2.22
pkgrel=0
pkgdesc="Simple XML parser for perl"
url="http://search.cpan.org/dist/XML-Simple/"
arch="noarch"
license="PerlArtistic"
subpackages="$pkgname-doc"
depends="perl-xml-parser perl"
makedepends="perl-dev"
source="ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$pkgver.tar.gz"
build() {
cd "$srcdir"/XML-Simple-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$srcdir"/XML-Simple-$pkgver
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name 'perllocal.pod' -delete
}
md5sums="0914abddfce749453ed89b54029f2643 XML-Simple-2.22.tar.gz"
sha256sums="b9450ef22ea9644ae5d6ada086dc4300fa105be050a2030ebd4efd28c198eb49 XML-Simple-2.22.tar.gz"
sha512sums="b5e5d36726b8a0efcf7200522d802a7f733c883526db2dba64ce23bf7e044d20d9186fac3bb2f2940807a30f746301f690129c4c542341c8a57a735471b5f4d7 XML-Simple-2.22.tar.gz"
|