blob: eff35220ac49098400fbd6b69074ed23086433cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: notjustbill
# Contributor: untitled
# Contributor: mh00h
# Contributor: Frank Phillips <frankalso[at]gmail[dot]com>
# Contributor: Mr.Elendig
# Contributor: Internauta
set -u
pkgname='iscan-plugin-gt-x820'
pkgver='2.2.1'; _bundlever='2.30.4'
pkgrel='2'
pkgdesc='iscan plugin for Epson Colorio GT-X820 Perfection V600 Photo scanners'
arch=('x86_64')
url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX'
license=('custom')
depends=('iscan>=2.21')
install='gt-x820.install'
source=("https://download2.ebz.epson.net/iscan/plugin/gt-x820/rpm/x64/iscan-gt-x820-bundle-${_bundlever}.x64.rpm.tar.gz")
md5sums=('f0b466d04e05018af6942e82a571e1f5')
sha256sums=('63647dac68e26bfee5bd75108cc6a4df0fddb8453a1e3bac2d63dea7db518bee')
prepare() {
set -u
cd "iscan-gt-x820-bundle-${_bundlever}.x64.rpm/plugins"
bsdtar -xf "iscan-plugin-gt-x820-${pkgver}-1.x86_64.rpm"
if [ -d "usr/lib64" ]; then
mv 'usr/lib64' 'usr/lib'
fi
set +u
}
package() {
set -u
cd "iscan-gt-x820-bundle-${_bundlever}.x64.rpm/plugins"
mv 'usr' "${pkgdir}"
install -Dpm644 "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"/* -t "${pkgdir}/usr/share/licenses/${pkgname}/"
rm -r "${pkgdir}/usr/share/doc"
set +u
}
set +u
|