[arch-commits] Commit in gscan2pdf/repos/community-any (PKGBUILD PKGBUILD)
Fabio Castelli
muflone at gemini.archlinux.org
Mon Nov 29 00:11:42 UTC 2021
Date: Monday, November 29, 2021 @ 00:11:42
Author: muflone
Revision: 1055938
archrelease: copy trunk to community-any
Added:
gscan2pdf/repos/community-any/PKGBUILD
(from rev 1055936, gscan2pdf/trunk/PKGBUILD)
Deleted:
gscan2pdf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 00:11:39 UTC (rev 1055937)
+++ PKGBUILD 2021-11-29 00:11:42 UTC (rev 1055938)
@@ -1,50 +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_salzwedel at web.de>
-# Contributor: Olaf Leidinger <leidola at newcon.de>
-
-pkgname=gscan2pdf
-pkgver=2.12.3
-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'
- 'perl-graphics-tiff')
-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=('bb7c9bfd485ae24bbd56a5ca98682455e07fa44d02784a0f3b4b2d3995d704beb0ad146297e92e838dddf8bbdbc37b391e88bf50c98efcd3dfe6b10e761a0693')
-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 1055936, gscan2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 00:11:42 UTC (rev 1055938)
@@ -0,0 +1,50 @@
+# 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_salzwedel at web.de>
+# Contributor: Olaf Leidinger <leidola at newcon.de>
+
+pkgname=gscan2pdf
+pkgver=2.12.4
+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'
+ 'perl-graphics-tiff')
+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=('f904e2fe3ec0ed829eb9166a42c7c10b56e99e1a7558c7d0014efc530d5f4d3873e9097f28372412073cbb6040bd00570f1acbb6582f5ea87485f0a0ace6f486')
+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
+}
More information about the arch-commits
mailing list