Date: Monday, April 5, 2021 @ 17:20:54 Author: muflone Revision: 911884
archrelease: copy trunk to community-any Added: gscan2pdf/repos/community-any/PKGBUILD (from rev 911883, gscan2pdf/trunk/PKGBUILD) Deleted: gscan2pdf/repos/community-any/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-05 17:20:41 UTC (rev 911883) +++ PKGBUILD 2021-04-05 17:20:54 UTC (rev 911884) @@ -1,49 +0,0 @@ -# Maintainer: Muflone http://www.muflone.com/contacts/english/ -# Contributor: Tristelune <tristelune at archlinux dot info> -# Contributor: LeCrayonVert <greenarrow at archlinux dot us> -# Contributor: yugrotavele <yugrotavele at archlinux dot us> -# Contributor: Sven Salzwedel <sven_salzwe...@web.de> -# Contributor: Olaf Leidinger <leid...@newcon.de> - -pkgname=gscan2pdf -pkgver=2.10.2 -pkgrel=1 -pkgdesc='A GUI with OCR capability to produce PDFs or DjVus from scanned documents' -arch=('any') -url='http://gscan2pdf.sourceforge.net/' -license=('GPL') -depends=('imagemagick' 'perl-config-general' 'perl-date-calc' 'perl-goocanvas2' - 'perl-gtk3-simplelist' 'perl-data-uuid' - 'perl-filesys-df' 'perl-html-parser' 'perl-list-moreutils' - 'perl-locale-codes' 'perl-locale-gettext' 'perl-log-log4perl' 'perl-pdf-api2' - 'perl-proc-processtable' 'perl-readonly' 'perl-image-sane' 'perl-set-intspan' - 'perl-try-tiny' 'perl-pdf-builder' 'perl-gtk3-imageview' 'unpaper') -optdepends=('djvulibre: DjVu image format' - 'gocr: OCR support' - 'xdg-utils: email as PDF' - 'tesseract: OCR support' - 'cuneiform: OCR support' - 'pdftk: PDF encryption' - 'java-commons-lang: PDF encryption') -source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz") -sha512sums=('807af9af9c1451f761e1f64a0ebe132fc98252100202c0af0dea53210cd30bed5f4c293a8f5f52b03b493422053420c1506ca32a34515c90b7a5290837bc686a') -options=('!emptydirs') - -build() { - cd "${pkgname}-${pkgver}" - unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - perl Makefile.PL - make -} - -package() { - cd "${pkgname}-${pkgver}" - unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" - mv "${pkgdir}/usr/bin/vendor_perl/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" - # Delete unuseful files - find "${pkgdir}" -name '.packlist' -delete - find "${pkgdir}" -name '*.pod' -delete -} Copied: gscan2pdf/repos/community-any/PKGBUILD (from rev 911883, gscan2pdf/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-05 17:20:54 UTC (rev 911884) @@ -0,0 +1,49 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Tristelune <tristelune at archlinux dot info> +# Contributor: LeCrayonVert <greenarrow at archlinux dot us> +# Contributor: yugrotavele <yugrotavele at archlinux dot us> +# Contributor: Sven Salzwedel <sven_salzwe...@web.de> +# Contributor: Olaf Leidinger <leid...@newcon.de> + +pkgname=gscan2pdf +pkgver=2.11.2 +pkgrel=1 +pkgdesc='A GUI with OCR capability to produce PDFs or DjVus from scanned documents' +arch=('any') +url='http://gscan2pdf.sourceforge.net/' +license=('GPL') +depends=('imagemagick' 'perl-config-general' 'perl-date-calc' 'perl-goocanvas2' + 'perl-gtk3-simplelist' 'perl-data-uuid' + 'perl-filesys-df' 'perl-html-parser' 'perl-list-moreutils' + 'perl-locale-codes' 'perl-locale-gettext' 'perl-log-log4perl' 'perl-pdf-api2' + 'perl-proc-processtable' 'perl-readonly' 'perl-image-sane' 'perl-set-intspan' + 'perl-try-tiny' 'perl-pdf-builder' 'perl-gtk3-imageview' 'unpaper') +optdepends=('djvulibre: DjVu image format' + 'gocr: OCR support' + 'xdg-utils: email as PDF' + 'tesseract: OCR support' + 'cuneiform: OCR support' + 'pdftk: PDF encryption' + 'java-commons-lang: PDF encryption') +source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz") +sha512sums=('046994d14b97d3caf2369ea4f9de3774785fb02cb8e0bdedced8a972f501f3d7b0cd24a80a1832352030d2d7e2aae46a15e10ed457aa8d247f5db00cf57bac81') +options=('!emptydirs') + +build() { + cd "${pkgname}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +package() { + cd "${pkgname}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" + mv "${pkgdir}/usr/bin/vendor_perl/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + # Delete unuseful files + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete +}