diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..778268f17579 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |