summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06e54cef4ea5100696a94b2a19e2ab4e2aaf10a1 (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
25
26
27
28
29
30
# Maintainer: Stick <stick@stma.is>
# Contributor: Caleb Maclennan <caleb@alerque.com>

pkgname=xerox-workcentre-6515
pkgver=5.20.661.4684
pkgrel=3
pkgdesc="CUPS driver for the Xerox WorkCentre 6515"
url='https://www.support.xerox.com/support/workcentre-6515/downloads/enus.html?operatingSystem=linux'
license=('custom')
arch=('i686' 'x86_64')
depends=('cups')
makedepends=('rpmextract')
source_i686=("$pkgname.rpm::http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/XeroxOfficev5Pkg-Linuxi686-$pkgver.rpm")
source_x86_64=("$pkgname.rpm::http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/XeroxOfficev5Pkg-Linuxx86_64-$pkgver.rpm")
source=("LICENSE")
sha256sums_i686=('84a080919441101e5a76bfe7cc0b251dedd7fea0e082a16963591a7b83d3ac6b')
sha256sums_x86_64=('99ddb77248c7cc87570428053c9d6e38d59efddf391b3d819c9e5716f926fc54')
sha256sums=('45607ad97f4fbba48dfc5150c5ad93deb6b2b57a5ae2d32299418cae682f23b8')

build() {
	cd "$srcdir" || exit
	rpmextract.sh "$pkgname.rpm" || exit
}

package() {
	mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
	cp LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
	cd "$srcdir" || exit
	cp -r usr "$pkgdir"
}