31 lines
878 B
Bash
31 lines
878 B
Bash
|
# Template file for 'gxml'
|
||
|
pkgname=gxml
|
||
|
version=0.20.3
|
||
|
revision=1
|
||
|
build_style=meson
|
||
|
build_helper=gir
|
||
|
hostmakedepends="vala pkg-config"
|
||
|
makedepends="libxml2-devel libglib-devel libgee08-devel vala-devel"
|
||
|
short_desc="GObject API for manipulating XML"
|
||
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||
|
license="GPL-3.0-or-later"
|
||
|
homepage="https://gitlab.gnome.org/GNOME/gxml"
|
||
|
distfiles="https://gitlab.gnome.org/GNOME/gxml/-/archive/${version}/gxml-${version}.tar.gz"
|
||
|
checksum=66d7c761ae2dad14960911708d042382436c6b10f0b68e77d7c536697f663f53
|
||
|
|
||
|
pre_patch() {
|
||
|
sed -i '/^test .*htmlxdocument.*xthtmldoc/d' test/meson.build
|
||
|
}
|
||
|
|
||
|
gxml-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove usr/share/gir-1.0
|
||
|
vmove usr/share/vala
|
||
|
}
|
||
|
}
|