[arch-commits] Commit in interception-caps2esc/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Fri Dec 25 23:43:55 UTC 2020
Date: Friday, December 25, 2020 @ 23:43:55
Author: ainola
Revision: 791232
archrelease: copy trunk to community-x86_64
Added:
interception-caps2esc/repos/community-x86_64/
interception-caps2esc/repos/community-x86_64/PKGBUILD
(from rev 791231, interception-caps2esc/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: interception-caps2esc/repos/community-x86_64/PKGBUILD (from rev 791231, interception-caps2esc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-12-25 23:43:55 UTC (rev 791232)
@@ -0,0 +1,31 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# 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
+}
More information about the arch-commits
mailing list