New package: AppStream-0.12.1 (#1131)

resolves void-linux/void-packages#1124
This commit is contained in:
maxice8 2018-07-23 15:33:40 -03:00 committed by cr6git
parent 19f806fccb
commit ad3384ec84
3 changed files with 29 additions and 0 deletions

1
srcpkgs/AppStream-devel Symbolic link
View file

@ -0,0 +1 @@
AppStream

View file

@ -0,0 +1,26 @@
# 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"
}
}

2
srcpkgs/AppStream/update Normal file
View file

@ -0,0 +1,2 @@
site=https://raw.githubusercontent.com/ximion/appstream/master/NEWS
pattern="^Version \K.*"