[arch-commits] Commit in interception-tools/repos (3 files)

Brett Cornwall ainola at gemini.archlinux.org
Sat Feb 5 04:36:56 UTC 2022


    Date: Saturday, February 5, 2022 @ 04:36:56
  Author: ainola
Revision: 1126402

archrelease: copy trunk to community-testing-x86_64

Added:
  interception-tools/repos/community-testing-x86_64/
  interception-tools/repos/community-testing-x86_64/PKGBUILD
    (from rev 1126401, interception-tools/trunk/PKGBUILD)
  interception-tools/repos/community-testing-x86_64/interception-tools.install
    (from rev 1126401, interception-tools/trunk/interception-tools.install)

----------------------------+
 PKGBUILD                   |   39 +++++++++++++++++++++++++++++++++++++++
 interception-tools.install |    4 ++++
 2 files changed, 43 insertions(+)

Copied: interception-tools/repos/community-testing-x86_64/PKGBUILD (from rev 1126401, interception-tools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-02-05 04:36:56 UTC (rev 1126402)
@@ -0,0 +1,39 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Francisco Lopes
+
+pkgname=interception-tools
+pkgver=0.6.8
+pkgrel=3
+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')
+options=(debug)
+source=(
+    "$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz"
+)
+sha256sums=('84ced1c10bef7f00660704685c651c4241096cc9848c31f5a04f166e1450949d')
+
+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-testing-x86_64/interception-tools.install (from rev 1126401, interception-tools/trunk/interception-tools.install)
===================================================================
--- community-testing-x86_64/interception-tools.install	                        (rev 0)
+++ community-testing-x86_64/interception-tools.install	2022-02-05 04:36:56 UTC (rev 1126402)
@@ -0,0 +1,4 @@
+post_upgrade() {
+    echo "The udevmon.yaml configuration file now is expected at:"
+    echo "    /etc/interception-tools/udevmon.yaml"
+}



More information about the arch-commits mailing list