blob: 69e90901be7aa595dc0263e00fb2f4d546d23c01 (
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
|
# Maintainer: Sýlvan Heuser <sylvan.heuser@gmx.net>
pkgname=ppd-oki-c610
pkgver=2012
pkgrel=2
pkgdesc="Printer driver for Oki C610 (C610cdn; C610dn; C610dtn; C610n/ C710/ C711)"
arch=(any)
url="http://my.okidata.com/pp-C610dn.nsf?opendatabase"
license=('GPL')
depends=('cups')
optdepends=()
install=oki-c610.install
source=(ftp://ftp2.okidata.com/pub/drivers/linux/SFP/color/desktop/C610PS.tar)
sha512sums=('941d0678af40bfef7f2a517d9b5f1ce112103686e1aab776eeeea86defd173cb579cb1a18d6b99f865e7d02d84e44e8afe26b678128f8246221692493f052164')
package() {
cd "${srcdir}/C610PS/"
ppdmodel="${pkgdir}/usr/share/cups/model"
ppdshare="${pkgdir}/usr/share/ppd"
if [ -x "${ppdmodel}" ] ; then
ppdpath="${ppdmodel}"
elif [ -x "${ppdshare}" ] ; then
ppdpath="${ppdshare}"
else
ppdpath="${ppdmodel}"
fi
install -D -m 644 C610PS.ppd.gz "${ppdpath}/OKI_C610PS.ppd.gz"
install -D -m 755 okijobaccounting "${pkgdir}/usr/lib/cups/filter/okijobaccounting"
#install -D COPYING "${pkgdir}/usr/share/licenses/ppd-oki-c610/LICENSE"
}
|