summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 12baa342eb0..801bfe582df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,19 @@
-# Contributor: Caleb Maclennan <caleb@alerque.com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
pkgname=cups-xerox-phaser-6500
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
_rpmname=Xerox-Phaser-6500-Linux.rpm
-pkgdesc='CUPS driver for the Xerox Phaser 6500 series'
+pkgdesc='CUPS driver for the Xerox Phaser 6500 series (N & DN)'
url='https://www.support.xerox.com/support/phaser-6500/downloads/engb.html?operatingSystem=linux&fileLanguage=en_GB'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('any')
depends=('cups')
makedepends=('rpmextract' 'libtool')
-source=('http://download.support.xerox.com/pub/drivers/6500/drivers/linux/en_GB/Xerox-Phaser-6500-Linux.rpm')
+source=("http://download.support.xerox.com/pub/drivers/6500/drivers/linux/en_GB/$_rpmname")
sha256sums=('29b46cd1e57463ad4adcfa507bdaecd9fcdbda50fdb4cb34f53164af45dbebcb')
-build() {
- cd "$srcdir"
- rpmextract.sh "$_rpmname" || return 1
-}
-
package() {
- cd "$srcdir"
- cp -r usr "$pkgdir"
+ cp -r usr "$pkgdir/"
}