Package Details: xtruss 20211025.c25bf48-1

Git Clone URL: https://aur.archlinux.org/xtruss.git (read-only, click to copy)
Package Base: xtruss
Description: X11 protocol tracer, akin to strace
Upstream URL: https://www.chiark.greenend.org.uk/~sgtatham/xtruss/
Licenses: MIT
Submitter: 1ace
Maintainer: None
Last Packager: 1ace
Votes: 2
Popularity: 0.000000
First Submitted: 2020-08-05 17:31 (UTC)
Last Updated: 2021-11-14 12:23 (UTC)

Latest Comments

1ace commented on 2021-10-09 08:28 (UTC)

Thanks @emorozov! I've now updated the package :)

emorozov commented on 2021-10-06 15:53 (UTC) (edited on 2021-10-06 15:54 (UTC) by emorozov)

Hello, This patch fixes the build (version change and migration to cmake):

diff --git a/PKGBUILD b/PKGBUILD
index e8e2cc3..c8db02f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,25 @@
 # Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>

 pkgname=xtruss
-pkgver=20200918.a94a153
+pkgver=20210911.854c36a
 pkgrel=1
 pkgdesc="X11 protocol tracer, akin to strace"
 arch=(x86_64)
 url="https://www.chiark.greenend.org.uk/~sgtatham/xtruss/"
 license=(MIT)
 source=("https://www.chiark.greenend.org.uk/~sgtatham/xtruss/xtruss-$pkgver.tar.gz")
-sha256sums=('623a37f77943a4f2283ab9d76b0e6f0cd19b521643025f85727c8ff75bb46ecc')
+sha256sums=('94609812c613477201048e10757d185fe2e9e08f42949249e4ea713bce843f04')
 depends=()
+makedepends=(cmake)

 build() {
-  cd xtruss-$pkgver
-  ./configure --prefix=/usr
-  make xtruss
+  cmake -B build -S "xtruss-${pkgver}" \
+    -DCMAKE_BUILD_TYPE='None' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -Wno-dev
+   make -C build
 }

 package() {
-  cd xtruss-$pkgver
-  DESTDIR="$pkgdir" make install
+  DESTDIR="$pkgdir" cmake --install build
 }