user/perl-text-markdown: in community

This commit is contained in:
Antoine Martin 2023-12-05 14:25:22 -05:00
parent b97502d516
commit f2770aa9ac
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,31 +0,0 @@
# 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
"