diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 06:46:55 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 06:46:55 +0000 |
commit | ab975dd30502a687038bd05a8d6d84c5525fcd38 (patch) | |
tree | f615dfc414d0aaeed9a93ec6609c07485f8203fc /community/perl-xml-twig/APKBUILD | |
parent | 83c4559872af3ab13bde445f293e3ba024c5d6bf (diff) | |
download | aports-ab975dd30502a687038bd05a8d6d84c5525fcd38.tar.bz2 aports-ab975dd30502a687038bd05a8d6d84c5525fcd38.tar.xz |
community/perl-xml-twig: upgrade to 3.49.0, moved from testing
Diffstat (limited to 'community/perl-xml-twig/APKBUILD')
-rw-r--r-- | community/perl-xml-twig/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-xml-twig/APKBUILD b/community/perl-xml-twig/APKBUILD new file mode 100644 index 0000000000..6447e6fb64 --- /dev/null +++ b/community/perl-xml-twig/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-xml-twig +_pkgreal=XML-Twig +pkgver=3.49 +pkgrel=0 +pkgdesc="XML, The Perl Way" +url="http://search.cpan.org/dist/XML-Twig/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-xml-parser" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="afb5786e15cfe7823add6756382e7df7 XML-Twig-3.49.tar.gz" +sha256sums="3e0def8a7477fefa8c27fabf11899a459c8b793909182d016ba26749e9354e01 XML-Twig-3.49.tar.gz" +sha512sums="162c07f912062723f225e9620cf18a8a8ad1282abeab6c981c9acb9f638f6fbc70476811533c7c739e861e0cce4ccbc7f44ce0cbe8a9b6b4947e60cffacce23c XML-Twig-3.49.tar.gz" |