From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/splix/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/splix/PKGBUILD (limited to 'community/splix/PKGBUILD') diff --git a/community/splix/PKGBUILD b/community/splix/PKGBUILD new file mode 100644 index 000000000..b77e8b012 --- /dev/null +++ b/community/splix/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 43927 2011-03-31 19:16:02Z heftig $ +# Maintainer: Sergej Pupykin +# Maintainer: Angel 'angvp' Velasquez +# Contributor: Francis Carroll (franciscarroll at gmail dot com) + +pkgname=splix +pkgver=2.0.0 +pkgrel=8 +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') +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 +} -- cgit v1.2.3-54-g00ecf