updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / samsung2010p / PKGBUILD
blob498a3336ec7c4eaccbb5dd919a50095997367e1f
1 # Contributor: Jaroslaw Rosiek <philosoph@interia.pl>
2 pkgname=samsung2010p
3 pkgver=3.00.37
4 pkgrel=1
5 pkgdesc="Samsung ML-2010P CUPS driver"
6 arch=('i686')
7 license=('custom:samsung')
8 url="http://www.samsung.com"
10 source=("http://downloadcenter.samsung.com/content/DR/200902/20090225163328453/UnifiedLinuxDriver.tar.gz")
12 build() {
13     cd $startdir/src/ || return 1
15     # fix wrong modes in archive
16     chmod u=rwX,g=rX cdroot -R
17     chown root:root cdroot -R
19     #mkdir -p "$startdir/pkg/usr/share/cups/model/"
20     #mkdir -p "$startdir/pkg/usr/lib/cups/filter/"
21     install -m 644 -D "$startdir/src/cdroot/Linux/noarch/at_opt/share/ppd/ML-2010spl2.ppd" \
22       "$startdir/pkg/usr/share/cups/model/ML-2010spl2.ppd"
23     install -m 755 -D "$startdir/src/cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl" \
24       "$startdir/pkg/usr/lib/cups/filter/rastertosamsungspl"
27 md5sums=('37cf8a04456767be374520c24570be7d')