updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / samsung-ml1660 / PKGBUILD
blob42848683d640542d1d188580cf5863611c571fac
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]archlinux.org.ua
3 pkgname=samsung-ml1660
4 pkgver=3.00.65
5 pkgrel=4
6 pkgdesc="Samsung ML-1660 Series CUPS driver. Works with ML-1660, ML-1661, ML-1665, ML-1666, ML-1667 printers."
7 arch=('i686' 'x86_64')
8 url="http://www.samsung.com"
9 license=('custom:samsung')
10 depends=('cups' 'ghostscript')
11 source=("http://downloadcenter.samsung.com/content/DR/201001/20100121132724343/UnifiedLinuxDriver_0.86.tar.gz")
12 changelog=CHANGELOG.markdown
14 package() {
15         cd $srcdir
17         install -m 644 -D \
18                 ${srcdir}/cdroot/Linux/noarch/at_opt/share/ppd/ML-1660spl.ppd \
19                 ${pkgdir}/usr/share/cups/model/samsung/ML-1660spl.ppd
20         if [ "$CARCH" = "x86_64" ]; then
21                 install -m 755 -D \
22                         ${srcdir}/cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl \
23                         ${pkgdir}/usr/lib/cups/filter/rastertosamsungspl
24         else
25                 install -m 755 -D \
26                         ${srcdir}/cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl \
27                         ${pkgdir}/usr/lib/cups/filter/rastertosamsungspl
28         fi
31 md5sums=('4ca29f01fea2afc1187d7cba515f42b5')
32 sha256sums=('3e7538e1e5cb10acaa10ac0967b2e61d55fec8080df132e7763d5e61fb36d8a1')