blob: 9653341357b5799184e255b3dbff54b69a09f487 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Peter Mattern <pmattern at arcor dot de>
_pkgname=libcupsfilters
pkgname="${_pkgname}"-git
pkgver=2.2.1.r23.gdee3b387
pkgrel=1
pkgdesc="Code of the filters of the former cups-filters package as library functions"
arch=('x86_64' 'aarch64')
url="https://github.com/OpenPrinting/${_pkgname}"
license=('Apache-2.0')
depends=('libcups-git' 'lcms2' 'libjpeg-turbo' 'libpng' 'libtiff' 'libexif' 'fontconfig' 'libjxl')
makedepends=('git' 'ghostscript' 'mupdf-tools' 'poppler' 'ttf-dejavu')
#checkdepends=('ttf-dejavu')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --always --tags | sed 's|-|.r|;s|-|.|'
}
prepare() {
cd ${_pkgname}
./autogen.sh
./configure --prefix=/usr
}
build() {
cd ${_pkgname}
make
}
#check() {
# cd ${_pkgname}
# make check
#}
package() {
cd ${_pkgname}
make DESTDIR="${pkgdir}/" install
}
|