summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubosz Sarnecki2020-01-17 16:49:49 +0100
committerLubosz Sarnecki2020-01-17 16:49:49 +0100
commit183efa5b9e98e537b52054a95f0815e6b6814855 (patch)
tree319a0639dba1ebd5627ed86ee0bb2460c8bb2509
parent0a9e0da6c240cc1928509e0c3d36f7b1e9b90661 (diff)
downloadaur-183efa5b9e98e537b52054a95f0815e6b6814855.tar.gz
Use arch-meson, build out of tree, set buildtype to release.
-rw-r--r--PKGBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 247b76bf772..7e100c62a8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,19 +30,16 @@ pkgver() {
}
build() {
- cd $basename
rm -rf build
- meson build --prefix=/usr/ --libdir=lib
+ arch-meson $basename build --libdir=lib --buildtype release
ninja -C build
}
check() {
- cd $basename
meson test -C build/ --no-suite xr --no-suite post-install
}
package() {
- cd $basename
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "${srcdir}"/xrdesktop/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE