summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 366b78aa52ad585e70699e97e62c07e99398a074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Fernando Fernández <fernando at softwareperonista dot com dot ar>
# Contributor: Balló György
# Contributor: Artem Vorotnikov <artem at vorotnikov dot me>
pkgname=gxml
pkgver=0.20.3
pkgrel=1
pkgdesc="GObject-based XML parser and writer library"
arch=('x86_64')
url="https://gitlab.gnome.org/GNOME/gxml"
license=('LGPL-2.1-or-later')
depends=('glib2' 'libgee' 'libxml2')
makedepends=('gobject-introspection' 'meson' 'vala')
source=("https://gitlab.gnome.org/GNOME/gxml/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('66d7c761ae2dad14960911708d042382436c6b10f0b68e77d7c536697f663f53')

build() {
  arch-meson "$pkgname-$pkgver" build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}