diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-23 16:00:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-24 09:11:11 +0000 |
commit | 0e26f065f8052165727483c1a2bcc693a833569b (patch) | |
tree | c37314e958f13eb2fb33ae413fb8944ec54b224b /main/perl-html-formattext-withlinks-andtables/APKBUILD | |
parent | cee71f28d324f4637919278e0b08533b80f11e86 (diff) | |
download | aports-0e26f065f8052165727483c1a2bcc693a833569b.tar.bz2 aports-0e26f065f8052165727483c1a2bcc693a833569b.tar.xz |
main/perl-html-formattext-withlinks-andtables: new aport
Diffstat (limited to 'main/perl-html-formattext-withlinks-andtables/APKBUILD')
-rw-r--r-- | main/perl-html-formattext-withlinks-andtables/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
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 <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" |