summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Amend2015-06-13 07:33:02 +0200
committerBernd Amend2015-06-13 07:43:09 +0200
commit3286d017811d7970036671cba3c28337f58ab3f2 (patch)
treecb792142d6d4cb5f2929c6f9d95fd32b8a8c60d6
parentc5b765e73e1b8f4039c2174a7b4b17676ef0b9f9 (diff)
downloadaur-3286d017811d7970036671cba3c28337f58ab3f2.tar.gz
version 1.00.21
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD24
2 files changed, 20 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 668ff79b8c7..a44471394c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = samsung-unified-driver
pkgdesc = Unified Linux Driver for Samsung printers and scanners.
- pkgver = 1.00.06
- pkgrel = 2
+ pkgver = 1.00.21
+ pkgrel = 3
url = http://www.samsung.com
arch = i686
arch = x86_64
@@ -16,8 +16,8 @@ pkgbase = samsung-unified-driver
depends = openssl
provides = samsung-unified-driver
options = !strip
- source = http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-1.00.06.tar.gz
- sha512sums = 303d772779679c190e779d0dea982a8e7faa20be7b75cfc8abf22a7e55a389238b6cb0225137ac73195a45db9aba3bb3e514c8ec2d4a731d43b5f35d543832a8
+ source = http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-1.00.21.tar.gz
+ sha512sums = 087dde382015f85e4b7f485b382089441b2fa7258d396a86cdb68b280f7675b7e120cf4c513a61c516910e32cd7deefef306528ba167e706c3aea98643065e80
pkgname = samsung-unified-driver
diff --git a/PKGBUILD b/PKGBUILD
index 52735214bbb..3445f41ba0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Bernd Amend <berndamend gmail com>
pkgname=samsung-unified-driver
-pkgver=1.00.06
-pkgrel=2
+pkgver=1.00.21
+pkgrel=3
pkgdesc="Unified Linux Driver for Samsung printers and scanners."
arch=(i686 x86_64 armel)
@@ -15,7 +15,7 @@ options=(!strip)
source=("http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${pkgver}.tar.gz")
-sha512sums=('303d772779679c190e779d0dea982a8e7faa20be7b75cfc8abf22a7e55a389238b6cb0225137ac73195a45db9aba3bb3e514c8ec2d4a731d43b5f35d543832a8')
+sha512sums=('087dde382015f85e4b7f485b382089441b2fa7258d396a86cdb68b280f7675b7e120cf4c513a61c516910e32cd7deefef306528ba167e706c3aea98643065e80')
if [ "$CARCH" = "i686" ]; then
CARCHCUSTOM="i386"
@@ -31,8 +31,11 @@ package_general() {
DIST_DIR="${noarchsrcdir}/../"
SCRIPT_DIR="${noarchsrcdir}"
- . "${noarchsrcdir}/packet.sh"
- . "${noarchsrcdir}/install-scanner-script"
+ OEM_FILE="${noarchsrcdir}/oem.conf"
+ INSTALL_LOG_FILE="${srcdir}/install.log"
+ . "${noarchsrcdir}/scripting_utils"
+ . "${noarchsrcdir}/package_utils"
+ . "${noarchsrcdir}/scanner-script.pkg"
install -d "${pkgdir}/etc/udev/rules.d"
fill_full_template "${noarchsrcdir}/etc/smfp.rules.in" "${pkgdir}/etc/udev/rules.d/60_smfp_samsung.rules"
@@ -60,7 +63,11 @@ package_cups() {
# filter
cupsfilterdir="${cupsdir}/filter"
install -d "${cupsfilterdir}"
- install -m 755 "${archsrcdir}/pstospl" "${archsrcdir}/pstosplc" "${archsrcdir}/rastertospl" "${archsrcdir}/rastertosplc" "${cupsfilterdir}"
+ install -m 755 "${archsrcdir}/pstosecps" "${archsrcdir}/rastertospl" "${cupsfilterdir}"
+
+ cd "${cupsfilterdir}"
+ ln -s rastertospl rastertosplc
+ cd -
# libscmssc.so
install -d "${pkgdir}/usr/lib"
@@ -92,8 +99,9 @@ package_sane() {
echo "xerox_mfp-smfp" > "${pkgdir}/etc/sane.d/dll.d/smfp-scanner-fix"
chmod 644 "${pkgdir}/etc/sane.d/dll.d/smfp-scanner-fix"
- # TODO: Can we extract the following information from the samsung package?
- echo "#xerox_mfp-smfp.conf\n\n# Samsung CLX-2160\nusb 0x04e8 0x3425\n\n# Samsung CLX-3170FN & CLX-3175FW\nusb 0x04e8 0x342a\n\n# Samsung CLX-3185\nusb 0x04e8 0x343d\n\n# Samsung CLX-3300\nusb 0x04e8 0x3456\n\n# Samsung SCX-3200 & SCX-3205W\nusb 0x04e8 0x3441\n\n# Samsung SCX-3405W\nusb 0x04e8 0x344f\n\n# Samsung SCX-4100\nusb 0x04e8 0x3413\n\n# Samsung SCX-4200\nusb 0x04e8 0x341b\n\n# Samsung SCX-4216F\nusb 0x04e8 0x3409\n\n# Samsung SCX-4300\nusb 0x04e8 0x342e\n\n# Samsung SCX-4500\nusb 0x04e8 0x3426\n\n# Samsung SCX-4500W\nusb 0x04e8 0x342b\n\n# Samsung SCX-4521F\nusb 0x04e8 0x3419\n\n# Samsung SCX-4600\nusb 0x04e8 0x3433\n\n# Samsung SCX-4623\nusb 0x04e8 0x3434\n\n# Samsung SCX-4623FW\nusb 0x04e8 0x3440\n\n# Samsung SCX-4725FN\nusb 0x04e8 0x341f\n\n# Samsung SCX-4824\nusb 0x04e8 0x342c\n\n# Samsung SCX-4825FN\nusb 0x04e8 0x343c\n\n# Samsung SCX-4828FN (4x28 Series)\nusb 0x04e8 0x342d\n\n# Samsung SCX-4833FD\nusb 0x04e8 0x344b" > "${pkgdir}/etc/sane.d/xerox_mfp-smfp"
+ # TODO: Can we extract the following information from the samsung package e.g. oem.conf?
+ # The following information is taken from the old driver package
+ echo -e "#xerox_mfp-smfp.conf\n\n# Samsung CLX-2160\nusb 0x04e8 0x3425\n\n# Samsung CLX-3170FN & CLX-3175FW\nusb 0x04e8 0x342a\n\n# Samsung CLX-3185\nusb 0x04e8 0x343d\n\n# Samsung CLX-3300\nusb 0x04e8 0x3456\n\n# Samsung SCX-3200 & SCX-3205W\nusb 0x04e8 0x3441\n\n# Samsung SCX-3405W\nusb 0x04e8 0x344f\n\n# Samsung SCX-4100\nusb 0x04e8 0x3413\n\n# Samsung SCX-4200\nusb 0x04e8 0x341b\n\n# Samsung SCX-4216F\nusb 0x04e8 0x3409\n\n# Samsung SCX-4300\nusb 0x04e8 0x342e\n\n# Samsung SCX-4500\nusb 0x04e8 0x3426\n\n# Samsung SCX-4500W\nusb 0x04e8 0x342b\n\n# Samsung SCX-4521F\nusb 0x04e8 0x3419\n\n# Samsung SCX-4600\nusb 0x04e8 0x3433\n\n# Samsung SCX-4623\nusb 0x04e8 0x3434\n\n# Samsung SCX-4623FW\nusb 0x04e8 0x3440\n\n# Samsung SCX-4725FN\nusb 0x04e8 0x341f\n\n# Samsung SCX-4824\nusb 0x04e8 0x342c\n\n# Samsung SCX-4825FN\nusb 0x04e8 0x343c\n\n# Samsung SCX-4828FN (4x28 Series)\nusb 0x04e8 0x342d\n\n# Samsung SCX-4833FD\nusb 0x04e8 0x344b" > "${pkgdir}/etc/sane.d/xerox_mfp-smfp"
chmod 644 "${pkgdir}/etc/sane.d/xerox_mfp-smfp"
}