Date: Sunday, January 17, 2021 @ 00:56:48 Author: ainola Revision: 821247
archrelease: copy trunk to community-x86_64 Added: interception-tools/repos/community-x86_64/PKGBUILD (from rev 821246, interception-tools/trunk/PKGBUILD) interception-tools/repos/community-x86_64/interception-tools.install (from rev 821246, interception-tools/trunk/interception-tools.install) ----------------------------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ interception-tools.install | 4 ++++ 2 files changed, 42 insertions(+) Copied: interception-tools/repos/community-x86_64/PKGBUILD (from rev 821246, interception-tools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-17 00:56:48 UTC (rev 821247) @@ -0,0 +1,38 @@ +# Maintainer: Brett Cornwall <ain...@archlinux.org> +# Contributor: Francisco Lopes + +pkgname=interception-tools +pkgver=0.6.4 +pkgrel=2 +pkgdesc='A minimal composable infrastructure on top of libudev and libevdev' +arch=('x86_64') +license=('GPL3') +url='https://gitlab.com/interception/linux/tools' +depends=( + 'libevdev' 'libevdev.so' + 'yaml-cpp' 'libyaml-cpp.so' + 'systemd-libs' 'libudev.so' +) +makedepends=('cmake' 'systemd' 'boost') +source=( + "$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz" +) +sha256sums=('1c333588d76ffc7675a32b9f90b2440287d1e2852910a87782878b457c36b3a1') + +build() { + cmake -B build \ + -S "tools-v${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -Wno-dev + cmake --build build +} + +package() { + install -dm755 "$pkgdir/etc/interception/udevmon.d" + install -Dm644 "tools-v$pkgver/udevmon.service" -t "$pkgdir/usr/lib/systemd/system" + install -Dm644 "tools-v$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname" + + cd build + make DESTDIR="$pkgdir/" install +} Copied: interception-tools/repos/community-x86_64/interception-tools.install (from rev 821246, interception-tools/trunk/interception-tools.install) =================================================================== --- interception-tools.install (rev 0) +++ interception-tools.install 2021-01-17 00:56:48 UTC (rev 821247) @@ -0,0 +1,4 @@ +post_upgrade() { + echo "The udevmon.yaml configuration file now is expected at:" + echo " /etc/interception-tools/udevmon.yaml" +}