diff options
author | Stefan Husmann | 2015-06-08 20:14:32 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-08 20:14:32 +0200 |
commit | 9e67ffa960c254e6246e1356e7ddfbf8c903273f (patch) | |
tree | 7e8e53309110446816d0e16d4a3c4cb7ab21df61 | |
download | aur-9e67ffa960c254e6246e1356e7ddfbf8c903273f.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cbe9f6e89fe3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = a2pdf + pkgdesc = Converts ASCII text to PDF format, with optional page/line numbering + pkgver = 1.13 + pkgrel = 5 + url = http://search.cpan.org/~jonallen/a2pdf-1.13/ + arch = any + license = PerlArtistic + depends = perl-switch + depends = perl-pdf-api2 + source = http://search.cpan.org/CPAN/authors/id/J/JO/JONALLEN/a2pdf-1.13.tar.gz + sha256sums = 6a5fd513b89ca1ecd765d701ef84a0cc2408abc49601f5c47737c0dc4c9b7b06 + +pkgname = a2pdf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..122ab0133a21 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Robert Knauer <robert@privatdemail.net> +# Contributor: Dan Serban +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=a2pdf +pkgver=1.13 +pkgrel=5 +pkgdesc="Converts ASCII text to PDF format, with optional page/line numbering" +arch=('any') +url="http://search.cpan.org/~jonallen/a2pdf-1.13/" +license=('PerlArtistic') +depends=('perl-switch' 'perl-pdf-api2') +source=( + "http://search.cpan.org/CPAN/authors/id/J/JO/JONALLEN/${pkgname}-${pkgver}.tar.gz" +) +sha256sums=('6a5fd513b89ca1ecd765d701ef84a0cc2408abc49601f5c47737c0dc4c9b7b06') + +build() { + cd "${srcdir}/a2pdf-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} + +check() { + cd "${srcdir}/a2pdf-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/a2pdf-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make INSTALLDIRS=vendor DESTDIR="$pkgdir" install +} |