summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 356d61c573b263bf176dca789a105a06397cdb96 (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
# Maintainer: Filippo Falezza <filippo dot falezza at outlook dot it>
# Contributor: Guillaume Dolle <dolle.guillaume@gmail.com>
_driver='c368-series'
_fileid='b49df471de0baa5fe71f3ed738182ddd'
_documentid='140305'
_type='1558521685'
_system='KonicaMinolta'
_lang='EN'

pkgname=konica-minolta-bizhub-c368-series
pkgver=1.26
pkgrel=1
pkgdesc='CUPS PostScript printer driver for bizhub (423 4750 4752 5020I 554E 652 750I 754 C35 C360 C360I C368 C3850 C3851 C650I C652D C658 C754 C759 WPH)'
arch=('any')
url='https://www.konicaminolta.eu/en/business-solutions/support/download-center.html'
license=('custom:konica minolta commercial license')
depends=('cups')
makedepends=('gzip')
_srcdir="KMbeuUXv${pkgver//\./_}_multi_language"

source=("${_srcdir}.tar.gz::https://dl.konicaminolta.eu/en?tx_kmdownloadcentersite_downloadproxy[fileId]=${_fileid}&tx_kmdownloadcentersite_downloadproxy[documentId]=${_documentid}&tx_kmdownloadcentersite_downloadproxy[system]=${_system}&tx_kmdownloadcentersite_downloadproxy[language]=${_lang}&type=${_type}")
sha256sums=('3e1e62a960b0ef3618ad53af0202b5f382f0a0e2df117da319996eead6ae9aa8') #if the download fails, please download the file manually:
#https://dl.konicaminolta.eu/en?tx_kmdownloadcentersite_downloadproxy[fileId]=b49df471de0baa5fe71f3ed738182ddd&tx_kmdownloadcentersite_downloadproxy[documentId]=140305&tx_kmdownloadcentersite_downloadproxy[system]=KonicaMinolta&tx_kmdownloadcentersite_downloadproxy[language]=EN&type=1558521685

package() {
  cd $srcdir/$_srcdir
  mkdir -p ${pkgdir}/usr/share/cups/model/KonicaMinolta/
  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
  mkdir -p ${pkgdir}/usr/lib/cups/filter/
  find . -name "*.ppd" -exec install -Dpm644 {} ${pkgdir}/usr/share/cups/model/KonicaMinolta/ \;
  gzip "${pkgdir}/usr/share/cups/model/KonicaMinolta"/*.ppd
  install -Dpm755  KMbeuEmpPS.pl ${pkgdir}/usr/lib/cups/filter/
  install -Dpm755  KMbeuEnc.pm ${pkgdir}/usr/lib/cups/filter/
  install -Dpm644 EULA.txt ${pkgdir}/usr/share/licenses/${pkgname}/
}