30 lines
944 B
Bash
30 lines
944 B
Bash
# Template file for 'libppd'
|
|
pkgname=libppd
|
|
version=2.1.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config ghostscript poppler mupdf-tools"
|
|
makedepends="cups-devel libcupsfilters-devel"
|
|
short_desc="OpenPrinting legacy support library for PPD files"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception"
|
|
homepage="https://github.com/OpenPrinting/libppd"
|
|
changelog="https://github.com/OpenPrinting/libppd/blob/master/CHANGES.md"
|
|
distfiles="https://github.com/OpenPrinting/libppd/releases/download/${version}/libppd-${version}.tar.xz"
|
|
checksum=bc4d7f8b749a8809f532459a5dd2f3513556ea2b96b3e12aced3e078c2697cba
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libppd-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} cups-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|