diff options
Diffstat (limited to 'backports/perl-html-formattext-withlinks-andtables/APKBUILD')
-rw-r--r-- | backports/perl-html-formattext-withlinks-andtables/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/backports/perl-html-formattext-withlinks-andtables/APKBUILD b/backports/perl-html-formattext-withlinks-andtables/APKBUILD new file mode 100644 index 0000000000..d8989b110b --- /dev/null +++ b/backports/perl-html-formattext-withlinks-andtables/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-html-formattext-withlinks-andtables +_pkgreal=HTML-FormatText-WithLinks-AndTables +pkgver=0.02 +pkgrel=0 +pkgdesc="Perl module for HTML-FormatText-WithLinks-AndTables" +url="http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends perl-html-formattext-withlinks" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SF/SFRYER/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal" + +prepare() { + cd "$_builddir" + return 0 +} + +build() { + cd "$_builddir" + if [ -e Build.PL ]; then + perl Build.PL installdirs=vendor || return 1 + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + fi +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install UNINST=1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="804146aa9e49a5b1af4f63fecd9b0c28 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz" +sha256sums="4e97159a8b8ab5ea0c417da2931221124dc0e1221a3307b270891d6f21852224 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz" +sha512sums="905bb42cbdf9591418dcf738ee1aaa6b6e1d56c47aaf8c4194bb17b43745cc6d82a4eb65d74ad8c95531940ad67c539329b327d5385f88e80f0a879a6e10bba2 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz" |