diff options
author | Balló György | 2020-06-21 13:27:47 +0000 |
---|---|---|
committer | Balló György | 2020-06-21 13:27:47 +0000 |
commit | c93f75c92b563c1c9f5f4c2990a5a4a1165d5b45 (patch) | |
tree | d71ffc2b6dc9629e81051e27778437f655a19b80 /PKGBUILD | |
parent | 2414d4ed933f72a9a87be0ba9168c9d922a527c7 (diff) | |
download | aur-c93f75c92b563c1c9f5f4c2990a5a4a1165d5b45.tar.gz |
Use meson
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -8,17 +8,19 @@ arch=('x86_64') url="https://wiki.gnome.org/GXml" license=('LGPL') depends=('glib2' 'libgee' 'libxml2') -makedepends=('gobject-introspection' 'vala' 'intltool') +makedepends=('gobject-introspection' 'meson' 'vala') source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") sha256sums=('bac5bc82c39423c1dbbfd89235f4a9b03b69cfcd3188905359ce81747b6400ed') build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make + arch-meson $pkgname-$pkgver build + ninja -C build +} + +check() { + meson test -C build --print-errorlogs } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build } |