blob: 10f50bd84984228dfc2c2ccb051caa57f600d02c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Ilya Chelyadin <ilya77105@gmail.com>
pkgname=rastertokpsl-git
pkgver=1
pkgrel=2
pkgdesc='rastertokpsl CUPS filter for Kyocera printers built from source'
arch=('i686' 'x86_64')
url="https://github.com/brainrom/rastertokpsl-re"
license=('Apache 2.0')
depends=('cups')
makedepends=('git' 'cmake')
provides=("rastertokpsl=${pkgver}")
conflicts=('rastertokpsl' 'rastertokpsl-fs-1040')
source=('git+https://github.com/brainrom/rastertokpsl-re.git')
sha256sums=('SKIP')
build()
{
mkdir -p build
cd build
cmake ../rastertokpsl-re
cmake --build .
}
package()
{
install -D -m 0755 $srcdir/build/src/rastertokpsl-re "$pkgdir/usr/lib/cups/filter/rastertokpsl-bin"
install -D -m 0755 $srcdir/rastertokpsl-re/rastertokpsl_wrapper "$pkgdir/usr/lib/cups/filter/rastertokpsl"
}
|