summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroberon20072015-09-23 18:49:21 +0200
committeroberon20072015-09-23 18:49:21 +0200
commit582fbef0a596621f753eaed924877d566bdcd4c6 (patch)
treeae17d22da0aa09cc1eb207e79cc3eb261cb2422e
downloadaur-582fbef0a596621f753eaed924877d566bdcd4c6.tar.gz
new
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2d47ac8719c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = samsung-ml1860series
+ pkgdesc = CUPS printer driver for Samsung ML-1860 Series
+ pkgver = 1.00.21
+ pkgrel = 1
+ url = http://www.samsung.com
+ arch = i686
+ arch = x86_64
+ license = custom:samsung
+ depends = cups>=1.6.0
+ depends = ghostscript
+ source = http://org.downloadcenter.samsung.com/content/DR/201403/20140312133051625/ULD_V1.00.21.tar.gz
+ md5sums = 9ab77b1bb5ed3ad10aea1a1a08bfa753
+
+pkgname = samsung-ml1860series
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49ffaa9b6d5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Bernhard Landauer <oberon@manjaro.org>
+
+pkgname=samsung-ml1860series
+pkgver=1.00.21
+pkgrel=1
+pkgdesc="CUPS printer driver for Samsung ML-1860 Series"
+arch=('i686' 'x86_64')
+url="http://www.samsung.com"
+license=('custom:samsung')
+depends=('cups>=1.6.0' '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-1860_Series.ppd \
+ ${pkgdir}/usr/share/cups/model/Samsung_ML-1860_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
+}