summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13bc7a8bb48fb58d70b5051fea0b41e5bae43cf9 (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
#Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
#Contributor: Archydan <daniel at dragusanu dot net>
#Contributor: Guglielmo De Concini <guglielmo dot deconcini at gmail dot com>

pkgname=xerox-phaser-6000-6010
pkgver=1.01_20110222
pkgrel=1
pkgdesc="Driver for Xerox Phaser 6000/6010 color laser printer"
url="http://www.support.xerox.com/support/phaser-6000/downloads/engb.html?operatingSystem=linux&fileLanguage=en_GB"
license=('custom:"XeroxEULA"')
arch=(i686 x86_64)
depends=(cups)
depends_i686=(libcups libstdc++5 libtiff libpng)
depends_x86_64=(lib32-libcups lib32-libstdc++5 lib32-libtiff lib32-libpng)
source=("${pkgname}-${pkgver}.zip::https://www.support.xerox.com/download/116070"
        "https://raw.githubusercontent.com/FabioLolix/AUR-artifacts/master/XeroxEULA")
sha256sums=('3cb437d2a83fe18718ee73f0293cef17b7129f16e7302c94752e93b4e9152ff2'
            '0b4c700a15719e07766c44451c767f1470ab97bf466cc61b18b96aec5891fc7e')

package() {
  cd "rpm_${pkgver}"
  bsdtar -xf Xerox-Phaser_6000_6010-1.0-1.i686.rpm -C ${pkgdir}
  install -D -m644 $srcdir/XeroxEULA "${pkgdir}/usr/share/licenses/${pkgname}/XeroxEULA"
}