Date: Friday, December 25, 2020 @ 23:41:26 Author: ainola Revision: 791223
Import interception-caps2esc from AUR (14 votes) Plugin used for interception-tools to provide xcape-like functionality on non-x environments. Added: interception-caps2esc/ interception-caps2esc/repos/ interception-caps2esc/trunk/ interception-caps2esc/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: interception-caps2esc/trunk/PKGBUILD =================================================================== --- interception-caps2esc/trunk/PKGBUILD (rev 0) +++ interception-caps2esc/trunk/PKGBUILD 2020-12-25 23:41:26 UTC (rev 791223) @@ -0,0 +1,31 @@ +# Maintainer: Brett Cornwall <[email protected]> +# Contributor: Francisco Lopes + +pkgname=interception-caps2esc +pkgver=0.1.3 +pkgrel=3 +pkgdesc='Interception plugin that transforms the most useless key ever in the most useful one' +arch=('x86_64') +license=('MIT') +url='https://gitlab.com/interception/linux/plugins/caps2esc' +depends=('interception-tools') +makedepends=('cmake') +source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/plugins/caps2esc/-/archive/v$pkgver/caps2esc-v$pkgver.tar.gz") +sha256sums=('1aa8953a1cfa513830f19ec03644aa212ba0c5c6537594b209e1c8b4250f5820') + +build() { + cmake -B build \ + -S "caps2esc-v${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -Wno-dev + cmake --build build +} + +package() { + install -Dm644 "caps2esc-v${pkgver}/README.md" -t "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 "caps2esc-v${pkgver}/LICENSE.md" -t "$pkgdir/usr/share/licenses/$pkgname" + + cd build + make DESTDIR="$pkgdir/" install +}
