diff options
author | Stefan Göbel | 2019-02-22 21:25:17 +0100 |
---|---|---|
committer | Stefan Göbel | 2019-02-22 21:25:17 +0100 |
commit | 50add4ddb447aa738d5758a8adbe65374f080b1e (patch) | |
tree | b9eb61dc0c598a1d9995af32ab419581d85963cd | |
parent | 2b0d9ad08c76802707fee73f05c51e69ba9c0d64 (diff) | |
download | aur-50add4ddb447aa738d5758a8adbe65374f080b1e.tar.gz |
upgpkg: perl-text-multimarkdown 1.000035-2 (fixed dependencies)
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 64 |
2 files changed, 44 insertions, 30 deletions
@@ -1,18 +1,20 @@ pkgbase = perl-text-multimarkdown - pkgdesc = Perl/CPAN Module Text-MultiMarkdown + pkgdesc = Convert MultiMarkdown syntax to (X)HTML. pkgver = 1.000035 pkgrel = 1 - url = http://search.cpan.org/dist/Text-MultiMarkdown/ + url = https://metacpan.org/release/Text-MultiMarkdown arch = any license = BSD checkdepends = perl-test-exception checkdepends = perl-test-pod checkdepends = perl-test-pod-coverage + checkdepends = perl-text-diff makedepends = perl-list-moreutils - depends = perl + makedepends = perl-module-install depends = perl-text-markdown + depends = perl-html-parser source = http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Text-MultiMarkdown-1.000035.tar.gz - md5sums = dba21e6489e2a83a7534fe5b5b0daa8c + sha256sums = 2467dd13751dc2979d7c880b24e762952130fdf42a1ed3ee04fdf72d4b52646a pkgname = perl-text-multimarkdown @@ -1,38 +1,50 @@ -# Maintainer: fbabetto +# Maintainer: Stefan Göbel <aur —at— subtype —dot— de> +# Contributor: fbabetto -pkgname=perl-text-multimarkdown -pkgver=1.000035 -pkgrel=1 -pkgdesc="Perl/CPAN Module Text-MultiMarkdown" -_dist="Text-MultiMarkdown" +pkgname='perl-text-multimarkdown' +_module='Text-MultiMarkdown' +_author='B/BO/BOBTFISH' +pkgver='1.000035' +pkgrel='2' +pkgdesc='Convert MultiMarkdown syntax to (X)HTML.' arch=('any') -url="http://search.cpan.org/dist/Text-MultiMarkdown/" +url="https://metacpan.org/release/$_module" license=('BSD') -depends=('perl' 'perl-text-markdown') -makedepends=('perl-list-moreutils') -checkdepends=('perl-test-exception' 'perl-test-pod' 'perl-test-pod-coverage') -# FIXME MAYBE test-exception is in MAKEDEPENDS http://cpansearch.perl.org/src/BOBTFISH/Text-MultiMarkdown-1.000034/Makefile.PL -# FIXME 'perl-test-spelling' is a checkdepends but it fails to build -source=(http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/$_dist-$pkgver.tar.gz) -md5sums=('dba21e6489e2a83a7534fe5b5b0daa8c') - +depends=('perl-text-markdown' 'perl-html-parser') +makedepends=('perl-list-moreutils' 'perl-module-install') +checkdepends=('perl-test-exception' 'perl-test-pod' 'perl-test-pod-coverage' 'perl-text-diff') +source=("http://search.cpan.org/CPAN/authors/id/$_author/$_module-$pkgver.tar.gz") +sha256sums=('2467dd13751dc2979d7c880b24e762952130fdf42a1ed3ee04fdf72d4b52646a') build() { - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - /usr/bin/perl Makefile.PL INSTALLDIRS=vendor - make + ( + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT='1' PERL_AUTOINSTALL='--skipdeps' + cd "$_module-$pkgver" + perl Makefile.PL INSTALLDIRS='vendor' + make + ) } check() { - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - make test + ( + cd "$_module-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT='1' + make test + ) } package() { - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - make DESTDIR="$pkgdir/" install - install -Dm644 "License.text" $pkgdir/usr/share/licenses/$pkgname/LICENSE + ( + cd "$_module-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS='vendor' DESTDIR="$pkgdir" + install -Dm644 'License.text' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + find "$pkgdir" -name .packlist -delete + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -type d -empty -delete + ) } + +#:indentSize=3:tabSize=3:noTabs=true:mode=shellscript:maxLineLen=87:
\ No newline at end of file |