36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'AppStream'
|
|
pkgname=AppStream
|
|
version=0.12.5
|
|
revision=1
|
|
wrksrc="appstream-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"
|
|
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=7763df6c296ede6ba96e7cc31c72c22915f2c6d1a42563b2f9924836fcd19c03
|
|
conf_files="/etc/appstream.conf"
|
|
triggers="appstream-cache"
|
|
|
|
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.*"
|
|
}
|
|
}
|