PKGBUILDs/community/splix/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
842 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Francis Carroll (franciscarroll at gmail dot com)
pkgname=splix
pkgver=2.0.0
pkgrel=1
pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers"
arch=('i686' 'x86_64')
url="http://splix.ap2c.org/"
license=('GPL')
depends=('libcups' 'gcc')
makedepends=('cupsddk' 'libcups' 'jbigkit')
source=(http://downloads.sourceforge.net/splix/$pkgname-$pkgver.tar.bz2)
md5sums=('f3aa735c22a926818b3d8b26c9964186')
build() {
cd $srcdir/$pkgname-$pkgver
make || return 1
install -d $pkgdir/usr/lib/cups/filter
install -d $pkgdir/usr/share/cups/model/samsung
make CUPSFILTER=$pkgdir/`cups-config --serverbin`/filter \
CUPSPPD=$pkgdir/`cups-config --datadir`/model \
install || return 1
}