void-packages/srcpkgs/AppStream/template
2018-08-04 23:23:41 -03:00

27 lines
981 B
Bash

# Template file for 'AppStream'
pkgname=AppStream
version=0.12.2
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"
changelog="https://raw.githubusercontent.com/ximion/appstream/master/NEWS"
distfiles="https://github.com/ximion/appstream/archive/APPSTREAM_${version//./_}.tar.gz"
checksum=f0571eea83ebce48b5b349ff301324dfba822d8712180c98f77f4ab16e58b839
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"
}
}