Date: Sunday, October 24, 2021 @ 23:47:29
  Author: svenstaro
Revision: 1033267

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: interception-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
1033266, interception-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-24 23:47:29 UTC (rev 1033267)
@@ -0,0 +1,38 @@
+# Maintainer: Brett Cornwall <ain...@archlinux.org>
+# Contributor: Francisco Lopes
+
+pkgname=interception-tools
+pkgver=0.6.7
+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=('58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81')
+
+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-staging-x86_64/interception-tools.install 
(from rev 1033266, interception-tools/trunk/interception-tools.install)
===================================================================
--- community-staging-x86_64/interception-tools.install                         
(rev 0)
+++ community-staging-x86_64/interception-tools.install 2021-10-24 23:47:29 UTC 
(rev 1033267)
@@ -0,0 +1,4 @@
+post_upgrade() {
+    echo "The udevmon.yaml configuration file now is expected at:"
+    echo "    /etc/interception-tools/udevmon.yaml"
+}

Reply via email to