blob: e5a37cf6abe91000c4f35c94e8d195454f9c38d2 (
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
31
|
# Maintainer: Edmund Lodewijks <e.lodewijks@gmail.com>
pkgname=samsung-m283x
pkgver=1.00.39
pkgrel=3
pkgdesc="Samsung M283x printer driver"
arch=('i686' 'x86_64')
url="http://www.samsung.com"
license=('LicenseRef-samsung')
depends=('cups' 'ghostscript')
conflicts=('samsung-unified-driver')
options=(!strip)
source=("https://downloadcenter.samsung.com/content/DR/201704/20170407143829533/uld_V${pkgver}_01.17.tar.gz")
sha256sums=('09c166f9b1e11ff312965886387ee31c6980867c67c3d6206680cbae76ae6746')
_arch=${CARCH/i686/i386}
package() {
cd "${srcdir}"
install -Dm 755 "${srcdir}"/uld/$_arch/libscmssc.so "${pkgdir}"/usr/lib/libscmssc.so
install -Dm 755 "$srcdir"/uld/$_arch/smfpnetdiscovery "$pkgdir"/usr/lib/cups/backend/smfpnetdiscovery
install -Dm 755 "$srcdir"/uld/$_arch/pstosecps "$pkgdir"/usr/lib/cups/filter/pstosecps
install -Dm 755 "$srcdir"/uld/$_arch/rastertospl "$pkgdir"/usr/lib/cups/filter/rastertospl
ln -s rastertospl "${pkgdir}"/usr/lib/cups/filter/rastertosplc
install -Dm 755 "$srcdir"/uld/noarch/share/ppd/Samsung_M283x_Series.ppd "$pkgdir"/usr/share/ppd/suld/Samsung_M283x_Series.ppd
install -Dm 755 "$srcdir"/uld/noarch/share/ppd/cms/M283xsc.cts "$pkgdir"/usr/share/ppd/suld/cms/M283xsc.cts
install -Dm 644 "$srcdir"/uld/noarch/license/eula.txt "$pkgdir"/usr/share/licenses/$pkgbase/LICENSE
}
|