void-packages/srcpkgs/libmypaint/template
2020-03-28 16:05:07 +01:00

31 lines
917 B
Bash

# Template file for 'libmypaint'
pkgname=libmypaint
version=1.5.1
revision=1
build_style=gnu-configure
configure_args="--disable-gegl"
hostmakedepends="intltool pkg-config $(vopt_if gir gobject-introspection)"
makedepends="json-c-devel glib-devel json-glib-devel"
short_desc="MyPaint brush engine library"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="ISC"
homepage="https://github.com/mypaint/libmypaint"
distfiles="https://github.com/mypaint/libmypaint/releases/download/v${version}/libmypaint-${version}.tar.xz"
checksum=aef8150a0c84ce2ff6fb24de8d5ffc564845d006f8bad7ed84ee32ed1dd90c2b
build_options="gir"
build_options_default="gir"
libmypaint-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
post_install() {
vlicense COPYING
}