[arch-commits] Commit in gscan2pdf/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Apr 8 17:17:32 UTC 2019
Date: Monday, April 8, 2019 @ 17:17:29
Author: arojas
Revision: 450412
archrelease: copy trunk to community-any
Added:
gscan2pdf/repos/community-any/PKGBUILD
(from rev 450411, gscan2pdf/trunk/PKGBUILD)
Deleted:
gscan2pdf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 47 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-08 17:17:02 UTC (rev 450411)
+++ PKGBUILD 2019-04-08 17:17:29 UTC (rev 450412)
@@ -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_salzwedel at web.de>
-# Contributor: Olaf Leidinger <leidola at newcon.de>
-
-pkgname=gscan2pdf
-pkgver=2.5.1
-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-sane' 'perl-set-intspan'
- 'perl-try-tiny' 'unpaper')
-optdepends=('djvulibre: DjVu image format'
- 'gocr: OCR support'
- 'ocropy: OCR support'
- 'xdg-utils: email as PDF'
- 'tesseract: OCR support'
- 'cuneiform: OCR support'
- 'perl-gtk2-ex-podviewer: view inline documentation')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('e5f1e20d1dd1db062dee6ee30b99d4ce53d7496f231bf5d15aa4c0625e39245f')
-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 450411, gscan2pdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-08 17:17:29 UTC (rev 450412)
@@ -0,0 +1,47 @@
+# 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.5.1
+pkgrel=2
+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')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('e5f1e20d1dd1db062dee6ee30b99d4ce53d7496f231bf5d15aa4c0625e39245f')
+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