void-packages/srcpkgs/AppStream/template

29 lines
1008 B
Bash
Raw Normal View History

# Template file for 'AppStream'
pkgname=AppStream
2018-08-05 04:17:15 +02:00
version=0.12.2
revision=2
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"
2018-08-05 04:17:15 +02:00
changelog="https://raw.githubusercontent.com/ximion/appstream/master/NEWS"
distfiles="https://github.com/ximion/appstream/archive/APPSTREAM_${version//./_}.tar.gz"
2018-08-05 04:17:15 +02:00
checksum=f0571eea83ebce48b5b349ff301324dfba822d8712180c98f77f4ab16e58b839
conf_files="/etc/appstream.conf"
triggers="appstream-cache"
AppStream-devel_package() {
depends="AppStream-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}