user/perl-text-markdown: new aport
This commit is contained in:
parent
c5ce314f81
commit
0dbfe34707
1 changed files with 31 additions and 0 deletions
31
user/perl-text-markdown/APKBUILD
Normal file
31
user/perl-text-markdown/APKBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# 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
|
||||||
|
"
|
Loading…
Reference in a new issue