blob: dcd5c2d2593c6f7d2adb27f69d47f1a056294ac7 (
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
|
# Maintainer: Oleksandr Hrynchuk from Ukraine
pkgname=cnijfilter2-g3010
pkgver=5.60
pkgrel=2
pkgdesc='Canon InkJet Printer Driver, PIXMA G3010 series (PIXMA G3410, PIXMA G3411, PIXMA G3415, PIXMA G3510, PIXMA G3515, PIXMA G4410, PIXMA G4411, PIXMA G4510, PIXMA G4511)'
arch=('i686' 'x86_64')
url='https://th.canon/en/support/PIXMA%20G3010/model'
license=('custom')
depends=('libcups' 'libxml2')
provides=("cnijfilter2=$pkgver")
# Driver page https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_g_series/pixma-g3411.html?type=drivers&language=en&os=linux
source=("https://gdlp01.c-wss.com/gds/8/0100009488/01/cnijfilter2-$pkgver-1-deb.tar.gz")
sha256sums=('d75344561828eb180f34d6fd2d5b1a05eb03aca31365896589b7fcbcb75ab985')
prepare() {
local _pkgarch=$(echo -n "${CARCH}" | sed 's/x86_/amd/' | sed 's/i6/i3/')
local _debdir="cnijfilter2-${pkgver}-1-deb/packages"
ar -x "${_debdir}/cnijfilter2_${pkgver}-1_${_pkgarch}.deb" "data.tar.gz"
bsdtar -xzf data.tar.gz
}
package() {
cp -r usr ${pkgdir}
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
mv ${pkgdir}/usr/share/doc/cnijfilter2/LICENSE* ${pkgdir}/usr/share/licenses/${pkgname}
}
|