summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-29 18:23:55 +0300
committerCaleb Maclennan2020-05-29 18:23:55 +0300
commitb759698c80da024e1369e35b89a6689a50bc868e (patch)
tree409b36ac51479d5c159ee9fd36674c8449f28115 /PKGBUILD
parentb760bd251f008a5f3dbd41e13f35456ce6e69d34 (diff)
downloadaur-cups-xerox-workcentre-3025.tar.gz
Overhaul package build
upgpkg: cups-xerox-workcentre-3025 1.0.25-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9165b94096a..845c1894dd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,27 @@
-# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Jan Kroulik <jk at wo dot cz>
pkgname=cups-xerox-workcentre-3025
-pkgver=1.0_25
-pkgrel=2
+pkgver=1.0.25
+pkgrel=3
pkgdesc='Xerox WorkCentre 3025 printer driver for CUPS'
-url='https://www.support.xerox.com/support/workcentre-3025'
+url='https://www.support.xerox.com/support/workcentre-3025/downloads/enus.html?operatingSystem=linux&fileLanguage=en'
arch=('x86_64')
license=('custom')
+backup=('etc/smfp.conf')
source=('http://download.support.xerox.com/pub/drivers/WC3025/drivers/linux/en_GB/Xerox_WorkCentre_3025_Linux-Driver.tar.gz')
-makedepends=('binutils' 'tar')
sha256sums=('845e56dae3a2ed37064ad88e6b51a09ec90bdcd1c227c11ef4c2d121da3ddcc2')
build() {
- cd "uld"
- find -type f -name '*ppd' -execdir gzip -f {} \;
+ cd 'uld'
+ find -type f -name '*.ppd' -execdir gzip -f {} \;
}
package() {
- cd "uld"
- find ./noarch/etc/ -type f -execdir install -Dm644 {} "$pkgdir/etc/{}" \; -print
- find ./noarch -type f -name '*3025*.ppd.gz' -execdir install -Dm644 {} "$pkgdir/usr/share/ppd/xerox/{}" \; -print
- find ./noarch -type f -name '*3025*.cts' -execdir install -Dm644 {} "$pkgdir/usr/share/ppd/cms/{}" \; -print
- # find ./x86_64 -type f -execdir install -Dm755 {} "${pkgdir}/usr/lib/cups/filter/{}" \; -print
- install -Dm0755 ./x86_64/rastertospl "$pkgdir/usr/lib/cups/filter/rastertospl"
+ cd 'uld'
+ install -Dm755 -t "$pkgdir/usr/lib/cups/filter/" x86_64/rastertospl
+ install -Dm644 -t "$pkgdir/etc/" noarch/etc/smfp.conf
+ cd 'noarch/share/ppd'
+ install -Dm644 -t "$pkgdir/usr/share/ppd/xerox/" Xerox_WorkCentre_3025*.ppd.gz
+ install -Dm644 -t "$pkgdir/usr/share/ppd/xerox/cms/" cms/WC3225sc.cts
}