From 0e26f065f8052165727483c1a2bcc693a833569b Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Mon, 23 Dec 2013 16:00:26 +0000 Subject: main/perl-html-formattext-withlinks-andtables: new aport --- .../APKBUILD | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 main/perl-html-formattext-withlinks-andtables/APKBUILD (limited to 'main') diff --git a/main/perl-html-formattext-withlinks-andtables/APKBUILD b/main/perl-html-formattext-withlinks-andtables/APKBUILD new file mode 100644 index 0000000000..d8989b110b --- /dev/null +++ b/main/perl-html-formattext-withlinks-andtables/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena +# Maintainer: Leonardo Arena +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" -- cgit v1.2.3