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

2022-02-04 Thread Brett Cornwall via arch-commits
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 
+# 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"
+}



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

2021-10-24 Thread Sven-Hendrik Haase via arch-commits
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 
+# 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"
+}