void-packages/srcpkgs/AppStream/template

39 lines
1.2 KiB
Bash

# Template file for 'AppStream'
pkgname=AppStream
version=0.12.9
revision=1
wrksrc="appstream-${version}"
build_style=meson
configure_args="-Dgir=false -Dstemming=false -Dapidocs=false -Dqt=true"
hostmakedepends="docbook-xsl glib-devel gperf libxslt pkg-config
qt5-host-tools"
makedepends="libglib-devel libxml2-devel libyaml-devel qt5-devel lmdb-devel"
short_desc="Tools and libraries to work with AppStream metadata"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/ximion/appstream"
changelog="https://raw.githubusercontent.com/ximion/appstream/master/NEWS"
distfiles="https://github.com/ximion/appstream/archive/v${version}.tar.gz"
checksum=f1135c3266b2a82aa2540e41f74638c3eb1330869207000b57213a7a462de51f
conf_files="/etc/appstream.conf"
triggers="appstream-cache"
nocross="https://api.travis-ci.org/v3/job/592923595/log.txt"
AppStream-devel_package() {
depends="AppStream-${version}_${revision} AppStream-qt-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
AppStream-qt_package() {
short_desc+=" - qt5 interface library"
pkg_install() {
vmove "usr/lib/libAppStreamQt.so.*"
}
}