blob: 7b126fe969f57b5fa3b33f00ece6342468611948 (
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
|
# Maintainer: Chris Severance <aur.severach@spamgourmet.com>
# Contributor: shieldwed <shieldwed [at] outlook [dot] com>
set -u
_driver='bhp-1250'
pkgname="konica-minolta-bizhub-${_driver}"
pkgver='3.2.0'; _dl1='201601'; _dl2='21060941'
pkgrel='1'
pkgdesc='CUPS PostScript printer driver for bizhub PRESS 1250 1250P'
arch=('any')
url='https://www.konicaminolta.eu/en/business-solutions/support/download-center.html'
license=('custom:konica minolta commercial license')
depends=('cups')
makedepends=('gzip')
_driver="${_driver//-/}"
_srcdir="${_driver^^}PPDLinux_${pkgver//\./}"
source=(
"https://o.cses.konicaminolta.com/file/Default.aspx?FilePath=DL/${_dl1}/${_dl2}/${_srcdir}MU.zip"
"LICENSE"
)
#_srcdir+='MU'
sha256sums=('48ac2d3ef6290c35ececf6b733b2b22640b7e7740e37796089eb367dc8e55136'
'a3dcdd6459b4a376c61ad8c69ced0f356581229b39b209debe1679749824c408')
package() {
set -u
local _ppds=('KO1250UX')
local _ppd
for _ppd in "${_ppds[@]}"; do
install -Dpm644 "${_srcdir}/English/CUPS1.2/${_ppd}.ppd" -t "${pkgdir}/usr/share/cups/model/KonicaMinolta/"
done
gzip "${pkgdir}/usr/share/cups/model/KonicaMinolta"/*.ppd
install -Dpm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}/"
set +u
}
set +u
|