summaryrefslogtreecommitdiff
path: root/community-testing/splix
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-08 22:33:52 +0000
committerroot <root@rshg047.dnsready.net>2011-05-08 22:33:52 +0000
commit886d3d0994eb8e9f3e797155619619e0ef1353f8 (patch)
treeaecae53a57082f8f3e4b72755149285659c1bee3 /community-testing/splix
parentfe6dc99352fe2b801d251e55b2b8baa71441908e (diff)
Sun May 8 22:33:51 UTC 2011
Diffstat (limited to 'community-testing/splix')
-rw-r--r--community-testing/splix/PKGBUILD34
-rw-r--r--community-testing/splix/splix.install19
2 files changed, 53 insertions, 0 deletions
diff --git a/community-testing/splix/PKGBUILD b/community-testing/splix/PKGBUILD
new file mode 100644
index 000000000..9b8061ad5
--- /dev/null
+++ b/community-testing/splix/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 45807 2011-04-29 11:10:15Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Francis Carroll (franciscarroll at gmail dot com)
+
+pkgname=splix
+pkgver=2.0.0
+pkgrel=9
+pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers"
+arch=('i686' 'x86_64')
+url="http://splix.ap2c.org/"
+license=('GPL')
+depends=('libcups' 'gcc-libs' 'ghostscript>=9.02')
+makedepends=('libcups' 'jbigkit' 'krb5')
+install=splix.install
+source=(http://downloads.sourceforge.net/splix/$pkgname-$pkgver.tar.bz2)
+md5sums=('f3aa735c22a926818b3d8b26c9964186')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's#const PPDFile::Value::Value #const PPDFile::Value #' src/ppdfile.cpp
+
+ make PSTORASTER=gstoraster
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -d "$pkgdir/usr/lib/cups/filter"
+ install -d "$pkgdir/usr/share/cups/model/samsung"
+
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community-testing/splix/splix.install b/community-testing/splix/splix.install
new file mode 100644
index 000000000..ee1eb78a3
--- /dev/null
+++ b/community-testing/splix/splix.install
@@ -0,0 +1,19 @@
+post_install() {
+ cat <<EOF
+Installation of the color profile for color printers:
+-----------------------------------------------------
+
+ Color printers needs color profile files to get better results. These
+files are provided by your printer manufacturer and you have to install them
+manually. To do that, download the linux official drivers and locate the "cms"
+directory. Install this directory to "/usr/share/cups/model/\$MANUFACTURER/cms".
+
+ Samsung color profile files are available at:
+ (Then use MANUFACTURER=samsung)
+ http://splix.ap2c.org/samsung_cms.tar.bz2
+EOF
+}
+
+post_upgrade() {
+ post_install
+}