diff options
Diffstat (limited to 'main/perl-xml-simple/APKBUILD')
-rw-r--r-- | main/perl-xml-simple/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/perl-xml-simple/APKBUILD b/main/perl-xml-simple/APKBUILD index e96c6f438e..ff6d56821e 100644 --- a/main/perl-xml-simple/APKBUILD +++ b/main/perl-xml-simple/APKBUILD @@ -1,21 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-xml-simple pkgver=2.18 -pkgrel=0 +pkgrel=1 pkgdesc="Simple XML parser for perl" url="http://search.cpan.org/dist/XML-Simple/" -arch="x86 x86_64" +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 () -{ +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 |