diff options
author | Quan Guo | 2017-12-01 17:00:52 +0800 |
---|---|---|
committer | Quan Guo | 2017-12-01 17:00:52 +0800 |
commit | cdb8272de5aa79be66e89a9421a21aef7b0cdac3 (patch) | |
tree | 094701b70cccbe95c1d263e7723d5bb74f3a6e1b | |
download | aur-ricoh-sp2200-sp3xx-ppds.tar.gz |
First commit, version 1.0
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | driver.install | 14 | ||||
-rw-r--r-- | sp_2200_300mf_pcl-1.01-0.noarch.rpm | bin | 0 -> 10840 bytes |
4 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..544a5b3302a9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Fri Dec 1 09:00:27 UTC 2017 +pkgbase = ricoh-sp2200-sp3xx-ppds + pkgdesc = PPD files for Ricoh's SP2200 and SP300 seriers (SP2200, SP320xxx, SP325xxx, SP377xxx) multifunction printers, supplied by Ricoh + pkgver = 1.0 + pkgrel = 1 + url = http://support.ricoh.com/bb/html/dr_ut_e/re1/model/sp320sn/sp320sn.htm + install = driver.install + arch = any + license = MIT + depends = cups + depends = ghostscript + depends = cups-filters + source = sp_2200_300mf_pcl-1.01-0.noarch.rpm + md5sums = afbb6d22c2a8b49722663eebf7ca7aa5 + +pkgname = ricoh-sp2200-sp3xx-ppds + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..890565c69b75 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Quan Guo <guotsuan@gmail.com> +pkgname=ricoh-sp2200-sp3xx-ppds +pkgver=1.0 +pkgrel=1 +pkgdesc="PPD files for Ricoh's SP2200 and SP300 seriers (SP2200, SP320xxx, SP325xxx, SP377xxx) multifunction printers, supplied by Ricoh" +arch=('any') +url='http://support.ricoh.com/bb/html/dr_ut_e/re1/model/sp320sn/sp320sn.htm' +license=('MIT') +depends=(cups ghostscript cups-filters) +conflicts=() +install=driver.install +source=('sp_2200_300mf_pcl-1.01-0.noarch.rpm') +md5sums=('afbb6d22c2a8b49722663eebf7ca7aa5') + +package() { + install -d $pkgdir/usr/share/doc/Ricoh + install -d $pkgdir/usr/share/cups/model/Ricoh + install $srcdir/usr/share/cups/model/ricoh/*.xml $pkgdir/usr/share/doc/Ricoh/ + install $srcdir/usr/share/cups/model/ricoh/primax-gstopxl/* $pkgdir/usr/share/cups/model/Ricoh/ +} diff --git a/driver.install b/driver.install new file mode 100644 index 000000000000..8585f821e32f --- /dev/null +++ b/driver.install @@ -0,0 +1,14 @@ +post_install() { + echo "Restarting CUPS server" + + systemctl restart org.cups.cupsd.service + return $? +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/sp_2200_300mf_pcl-1.01-0.noarch.rpm b/sp_2200_300mf_pcl-1.01-0.noarch.rpm Binary files differnew file mode 100644 index 000000000000..9369a66d514d --- /dev/null +++ b/sp_2200_300mf_pcl-1.01-0.noarch.rpm |