40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname='ricoh-sp112-ppd'
|
|
pkgver=v0.3.r23.ga71ade3
|
|
pkgrel=02
|
|
pkgdesc='CUPS driver for Ricoh Aficio SP 100 and SP 200 family printers - RICOH Aficio SP_100 SP_112 SP_204'
|
|
url='https://github.com/vaginessa'
|
|
optdepends=('inotify-tools: asynchronous printing support')
|
|
makedepends=('git')
|
|
source=(git+https://github.com/vaginessa/ricoh-sp112-ppd)
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
depends=('cups' 'jbigkit' 'imagemagick' 'ghostscript')
|
|
mkdir -p $pkgdir/usr/share/cups/model
|
|
mkdir -p $pkgdir/usr/lib/cups/filter
|
|
cp *.ppd $pkgdir/usr/share/cups/model
|
|
cp pstoricohddst-gdi $pkgdir/usr/lib/cups/filter
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('unknown')
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 4506e6dcb8dd81c1ad38b430e78b32f7cb0441efa99af78f734d27f6ad91f134 ricoh-sp112-ppd-v0.3.r23.ga71ade3-02-x86_64.pkg.tar.lz
|
|
|