ayaports/user/perl-text-markdown/APKBUILD

32 lines
914 B
Text
Raw Normal View History

2023-08-13 21:38:16 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=perl-text-markdown
_pkgname=Text-Markdown
pkgver=1.000031
pkgrel=0
pkgdesc="Perl/CPAN Module Text::Markdown"
arch="noarch"
url="https://search.cpan.org/dist/$_pkgname"
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
depends="perl"
source="https://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/$_pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_pkgname-$pkgver/
build() {
PERL_USE_UNSAFE_INC=1 \
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
}
sha512sums="
58bef4eba58572c4990849209005109a969bf404a7bc5dfbaae25aa1d0b89317ea9b412658180dcfd96b2c809d5c6900e2118838535dfa9cad6d9b45969bee05 Text-Markdown-1.000031.tar.gz
"