diff options
author | brent s | 2017-09-16 14:31:05 -0400 |
---|---|---|
committer | brent s | 2017-09-16 14:31:05 -0400 |
commit | 2c3a5d91b163219636b20260f8761ed224bc60c2 (patch) | |
tree | 44873884a1c7e4e1b092a31a34b69e14614de862 | |
parent | 2b186f53c39b7f8f70b3e490d0d75c2e0e5d7c73 (diff) | |
download | aur-perl-app-asciio.tar.gz |
buildable
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 35 insertions, 17 deletions
@@ -1,18 +1,20 @@ -# Generated by aurpkgs -# Sat Sep 16 18:30:00 UTC 2017 +# Generated by mksrcinfo v8 +# Sat Sep 16 18:31:05 UTC 2017 pkgbase = perl-app-asciio pkgdesc = Build ASCII diagrams pkgver = 1.51.3 - pkgrel = 1 + pkgrel = 2 url = http://search.cpan.org/dist/App-Asciio/lib/App/Asciio.pm - arch = i686 - arch = x86_64 + arch = any license = GPL - license = PERLARTISTIC + license = PerlArtistic depends = perl + options = !emptydirs + options = purge source = http://search.cpan.org/CPAN/authors/id/N/NK/NKH/App-Asciio-1.51.3.tar.gz source = App-Asciio-1.51.3.tar.gz.sig sha512sums = 49c3f685fbb33a7bbe737107ca6e68b4f0ea7b0757601ada6dd5fce7f7dfc232f1ff178d55b5fe33fc4718290ec771454bb61eda64b85e83899b97b40b641948 sha512sums = SKIP pkgname = perl-app-asciio + @@ -4,25 +4,41 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B') # News updates for packages can be followed at https://devblog.square-r00t.net pkgname=perl-app-asciio pkgver=1.51.3 -pkgrel=1 +pkgrel=2 pkgdesc="Build ASCII diagrams" -arch=( 'i686' 'x86_64' ) +arch=('any') url="http://search.cpan.org/dist/App-Asciio/lib/App/Asciio.pm" -license=( 'GPL' 'PERLARTISTIC' ) -depends=( 'perl' ) -_pkgname=perl-app-asciio +license=('GPL' 'PerlArtistic') +depends=('perl') +_pkgname=App-Asciio +options=('!emptydirs' purge) install= changelog= noextract=() -source=("http://search.cpan.org/CPAN/authors/id/N/NK/NKH/App-Asciio-1.51.3.tar.gz" - "App-Asciio-1.51.3.tar.gz.sig") +source=("http://search.cpan.org/CPAN/authors/id/N/NK/NKH/${_pkgname}-${pkgver}.tar.gz" + "${_pkgname}-${pkgver}.tar.gz.sig") sha512sums=('49c3f685fbb33a7bbe737107ca6e68b4f0ea7b0757601ada6dd5fce7f7dfc232f1ff178d55b5fe33fc4718290ec771454bb61eda64b85e83899b97b40b641948' 'SKIP') + build() { - cd "${srcdir}/${_pkgname}/src" - make prefix=${pkgdir}/usr + cd "${srcdir}/${_pkgname}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null + /usr/bin/perl Build.PL + ./Build } + +# Tests are failing left and right these days for a lot of perl packages. +# Oddly enough, doesn't seem to affect anything. So for now, we disable... +#check() { +# cd "${srcdir}/${_pkgname}-${pkgver}" +# unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT +# export PERL_MM_USE_DEFAULT=1 +# ./Build test +#} + package() { - install -D -m755 ${srcdir}/${_pkgname}/src/${_pkgname} ${pkgdir}/usr/bin/${_pkgname} - install -D -m644 ${srcdir}/${_pkgname}/docs/README.html.en ${pkgdir}/usr/share/doc/${_pkgname}/README.html + cd "${srcdir}/${_pkgname}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + ./Build install --installdirs=vendor --destdir="$pkgdir" } |