archrelease: copy trunk to community-any
[ArchLinux/community.git] / splix / repos / community-x86_64 / PKGBUILD
blobc86b55ea1f37eeab931c4c44fb964e00553f9df8
1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
4 # Contributor: Francis Carroll (franciscarroll at gmail dot com)
6 pkgname=splix
7 pkgver=2.0.0
8 pkgrel=19
9 pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers"
10 arch=('x86_64')
11 url="http://splix.ap2c.org/"
12 license=('GPL')
13 depends=('libcups' 'gcc-libs' 'ghostscript')
14 makedepends=('jbigkit' 'krb5' 'subversion')
15 install=splix.install
16 source=(svn+https://svn.code.sf.net/p/splix/code/splix#revision=315
17         splix-deviceID.patch
18         splix-ldflags.patch)
19 sha256sums=('SKIP'
20             'd8540032c994d49cbe32c7831b703125b2951ef353d5f2e3320933f47073efeb'
21             'cf8eb17d15bcfb0afae52622c441272171fb73cedfd4ab0537e658050ebe043c')
23 prepare() {
24   cd splix
25   patch -Np1 -i ../splix-deviceID.patch
26   patch -Np1 -i ../splix-ldflags.patch
29 build() {
30   cd splix
31   CXXFLAGS+=" -fno-strict-aliasing"
32   make drv
33   make all DRV_ONLY=1
36 package() {
37   cd splix
38   make DESTDIR="$pkgdir" install DRV_ONLY=1
41 # vim:set ts=2 sw=2 et: