aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-formattext-withlinks
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-23 15:50:11 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:11:11 +0000
commitcee71f28d324f4637919278e0b08533b80f11e86 (patch)
treea3ffeab42cb4e1e413201839def4de14a2bebbd3 /main/perl-html-formattext-withlinks
parent907c34270af2279302bbebe18c44183885515d14 (diff)
downloadaports-cee71f28d324f4637919278e0b08533b80f11e86.tar.bz2
aports-cee71f28d324f4637919278e0b08533b80f11e86.tar.xz
main/perl-html-formattext-withlinks: new aport
Diffstat (limited to 'main/perl-html-formattext-withlinks')
-rw-r--r--main/perl-html-formattext-withlinks/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-html-formattext-withlinks/APKBUILD b/main/perl-html-formattext-withlinks/APKBUILD
new file mode 100644
index 0000000000..1e80262ad1
--- /dev/null
+++ b/main/perl-html-formattext-withlinks/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-html-formattext-withlinks
+_pkgreal=HTML-FormatText-WithLinks
+pkgver=0.14
+pkgrel=0
+pkgdesc="HTML to text conversion with links as footnotes"
+url="http://search.cpan.org/dist/HTML-FormatText-WithLinks/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-uri perl-html-format perl-html-tree"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="264a1436883d20b81e669c65a1f97367 HTML-FormatText-WithLinks-0.14.tar.gz"
+sha256sums="35ececbc8a3ceda23e03c1e88b1e1ba02193deb455630d093ed30365e845e8ff HTML-FormatText-WithLinks-0.14.tar.gz"
+sha512sums="ec2cf859401985aaac45ba5ae1da18b3a142d51d821154ad40497a1ec468d86a6a6b85d7a1a66ec2d06bac49fe699def702c4cad86f1fa52da364cb29b6994b7 HTML-FormatText-WithLinks-0.14.tar.gz"