aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-xml-simple/APKBUILD
blob: 74d2ecbe199b7dbe5bf8d7883eb2d43f1ef64bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-xml-simple
pkgver=2.18
pkgrel=0
pkgdesc="Simple XML parser for perl"
url="http://search.cpan.org/dist/XML-Simple/"
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
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '.packlist' -delete
	find "$pkgdir" -name 'perllocal.pod' -delete
}
md5sums="593aa8001e5c301cdcdb4bb3b63abc33  XML-Simple-2.18.tar.gz"