void-packages/srcpkgs/AppStream/template

27 lines
906 B
Bash

# Template file for 'AppStream'
pkgname=AppStream
version=0.12.1
revision=1
wrksrc="appstream-APPSTREAM_${version//./_}"
build_style=meson
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false"
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config"
makedepends="libglib-devel libxml2-devel libyaml-devel"
short_desc="Tools and libraries to work with AppStream metadata"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/ximion/appstream"
distfiles="https://github.com/ximion/appstream/archive/APPSTREAM_${version//./_}.tar.gz"
checksum=8f720ced48fda243f78f5a38a57b61b4f49b67119a749b6eee2599c0c3b9e16e
conf_files="/etc/appstream.conf"
AppStream-devel_package() {
depends="AppStream-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}