summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 778268f1757903a5065af860fe3d48a63fb3f18d (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
pkgname=rastertokpsl-fs-1040
pkgver=1.0
pkgrel=1
pkgdesc="Kyocera_FS-1040 Linux driver"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/lurepheonix/rastertokpsl-fs-1040"
license=('custom')
depends=('cups')
makedepends=('git')
# The git repo is detected by the 'git:' or 'git+' beginning. The branch
# '$pkgname' is then checked out upon cloning, expediating versioning:
#source=('git+https://github.com/falconindy/expac.git'
source=('git+https://github.com/lurepheonix/rastertokpsl-fs-1040.git')
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')

package() {
  cd $srcdir/$pkgname
  mkdir -p $pkgdir/usr/share/cups/model
  mkdir -p $pkgdir/usr/share/cups/model/Kyocera
  install -Dm644 Kyocera_FS-1040GDI.ppd $pkgdir/usr/share/cups/model/Kyocera/Kyocera_FS-1040GDI.ppd
  install -Dm755 rastertokpsl $pkgdir/usr/lib/cups/filter/rastertokpsl
  install -Dm755 rastertokpsl-fixed $pkgdir/usr/lib/cups/filter/rastertokpsl-fixed
}