added
This commit is contained in:
parent
708ded1757
commit
06aa046bd4
40
gscan2pdf/.SRCINFO
Normal file
40
gscan2pdf/.SRCINFO
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Sun Jun 4 20:39:40 UTC 2017
|
||||||
|
pkgbase = gscan2pdf
|
||||||
|
pkgdesc = A GUI with OCR capability to produce PDFs or DjVus from scanned documents
|
||||||
|
pkgver = 1.8.2
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://gscan2pdf.sourceforge.net/
|
||||||
|
arch = any
|
||||||
|
license = GPL
|
||||||
|
depends = imagemagick
|
||||||
|
depends = perl-config-general
|
||||||
|
depends = perl-date-calc
|
||||||
|
depends = perl-goo-canvas
|
||||||
|
depends = perl-gtk2-ex-simple-list
|
||||||
|
depends = perl-gtk2-imageview
|
||||||
|
depends = perl-data-uuid
|
||||||
|
depends = perl-filesys-df
|
||||||
|
depends = perl-html-parser
|
||||||
|
depends = perl-list-moreutils
|
||||||
|
depends = perl-locale-gettext
|
||||||
|
depends = perl-log-log4perl
|
||||||
|
depends = perl-pdf-api2
|
||||||
|
depends = perl-proc-processtable
|
||||||
|
depends = perl-readonly
|
||||||
|
depends = perl-sane
|
||||||
|
depends = perl-set-intspan
|
||||||
|
depends = perl-try-tiny
|
||||||
|
depends = unpaper
|
||||||
|
optdepends = djvulibre
|
||||||
|
optdepends = gocr
|
||||||
|
optdepends = ocropy
|
||||||
|
optdepends = xdg-utils
|
||||||
|
optdepends = tesseract
|
||||||
|
optdepends = cuneiform
|
||||||
|
optdepends = perl-gtk2-ex-podviewer
|
||||||
|
source = http://downloads.sourceforge.net/gscan2pdf/gscan2pdf-1.8.2.tar.xz
|
||||||
|
sha512sums = c58615520072591ae3e54196bae01b6b04015be279a5f512bb03340fe051ce75ff85f54bbf357ccefddbf54b11765c2a10afd736697a99aa20b4b8e999aef82f
|
||||||
|
|
||||||
|
pkgname = gscan2pdf
|
||||||
|
|
37
gscan2pdf/PKGBUILD
Normal file
37
gscan2pdf/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: 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@web.de>
|
||||||
|
# Contributor: Olaf Leidinger <leidola@newcon.de>
|
||||||
|
|
||||||
|
pkgname=gscan2pdf
|
||||||
|
pkgver=1.8.7
|
||||||
|
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-goo-canvas' 'perl-gtk2-ex-simple-list' 'perl-gtk2-imageview' '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' 'gocr' 'ocropy' 'xdg-utils' 'tesseract' 'cuneiform' 'perl-gtk2-ex-podviewer' )
|
||||||
|
source=("./$pkgname-$pkgver.tar.xz")
|
||||||
|
sha512sums=('990338c9dd9bdd5685a40792803b3077e27296c5a3363471e55d3297a815e1c344bc94e3430981764531fb02380d7d7b1c253dda5e9e65e86e632ae8371ca72d')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${srcdir}/${pkgname}-${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
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
|
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||||
|
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||||
|
|
||||||
|
# Standard perl cleaning
|
||||||
|
/usr/bin/find ${pkgdir} -name '.packlist' -o -name 'perllocal.pod' -delete
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user