[arch-commits] Commit in gscan2pdf/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Apr 23 08:50:24 UTC 2020


    Date: Thursday, April 23, 2020 @ 08:50:24
  Author: felixonmars
Revision: 617803

archrelease: copy trunk to community-any

Added:
  gscan2pdf/repos/community-any/PKGBUILD
    (from rev 617802, gscan2pdf/trunk/PKGBUILD)
Deleted:
  gscan2pdf/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 08:50:13 UTC (rev 617802)
+++ PKGBUILD	2020-04-23 08:50:24 UTC (rev 617803)
@@ -1,48 +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.6.5
-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-gettext' 'perl-log-log4perl' 'perl-pdf-api2'
-         'perl-proc-processtable' 'perl-readonly' 'perl-image-sane' 'perl-set-intspan'
-         'perl-try-tiny' 'unpaper')
-optdepends=('djvulibre: DjVu image format'
-            'gocr: OCR support'
-            'xdg-utils: email as PDF'
-            'tesseract: OCR support'
-            'cuneiform: OCR support'
-            'pdftk: PDF encryption')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-sha512sums=('5e0bfd358daaf340092a54750df791460e3e234ffd144351232e23dad40b6602d45a54e24b61eb54a11c7b8fc7eb7ca192764f67d323f86799d48096483b09d6')
-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 617802, gscan2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-23 08:50:24 UTC (rev 617803)
@@ -0,0 +1,48 @@
+# 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.6.6
+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-gettext' 'perl-log-log4perl' 'perl-pdf-api2'
+         'perl-proc-processtable' 'perl-readonly' 'perl-image-sane' 'perl-set-intspan'
+         'perl-try-tiny' 'unpaper')
+optdepends=('djvulibre: DjVu image format'
+            'gocr: OCR support'
+            'xdg-utils: email as PDF'
+            'tesseract: OCR support'
+            'cuneiform: OCR support'
+            'pdftk: PDF encryption')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('c2c37da42377397eca67e9bd889ac1ccc12b3430b5c710db78c109b282545d52b114a2a96cf8b9d0a064d8ebe817b6ab4ed83ada8bfc1f351df30ada6ee0854a')
+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