summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69725dff803d687393b29f9311efcf1dc788a651 (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
# Maintainer: Bernhard Landauer <oberon@manjaro.org>

pkgname=samsung-ml191x-series
pkgver=1.00.21
pkgrel=1
pkgdesc="CUPS printer driver for Samsung ML-191x Series"
arch=('i686' 'x86_64')
url="http://www.samsung.com"
license=('custom:samsung')
depends=('cups' 'ghostscript')
source=("http://org.downloadcenter.samsung.com/content/DR/201403/20140312133051625/ULD_V1.00.21.tar.gz")
md5sums=('9ab77b1bb5ed3ad10aea1a1a08bfa753')

package() {
	cd $srcdir

	install -m 644 -D \
		${srcdir}/uld/noarch/share/ppd/Samsung_ML-191x_Series.ppd \
		${pkgdir}/usr/share/cups/model/Samsung_ML-191x_Series.ppd
	if [ "$CARCH" = "x86_64" ]; then
		install -m 755 -D \
			${srcdir}/uld/x86_64/rastertospl \
			${pkgdir}/usr/lib/cups/filter/rastertospl
	else
		install -m 755 -D \
			${srcdir}/uld/i386/rastertospl \
			${pkgdir}/usr/lib/cups/filter/rastertospl
	fi
}