summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ea9231dc589ebec1161758135e503d53a3a6ac6 (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: Dan McGee <dpmcgee@gmail.com>

pkgname=xerox-phaser-3040
pkgver=1.0
_pkgver=1.0-28
pkgrel=3
pkgdesc="Driver for the Xerox Phaser 3040"
url="http://www.support.xerox.com/support/phaser-3040/downloads/enin.html?operatingSystem=linux&fileLanguage=en_GB"
license=('custom')
arch=('i686' 'x86_64')
depends=(cups foomatic-db-engine)
[ "$CARCH" = "x86_64" ] && depends+=(lib32-libcups lib32-libstdc++5 lib32-libtiff lib32-libpng)
[ "$CARCH" = "i686" ] && depends+=(libcups libstdc++5 libtiff libpng)
makedepends=('rpmextract')
source=(http://download.support.xerox.com/pub/drivers/3010/drivers/linux/en_GB/Xerox-Phaser-3010_3040-${_pkgver}.i586.zip)
md5sums=('4a9876e41e0ac9022d482a2316426bec')

package() {
	cd "${srcdir}"
	rpmextract.sh Xerox-Phaser-3010_3040-${_pkgver}.i586.rpm

	cp -R "${srcdir}"/usr "${pkgdir}"
}