aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Zakharchenko <dmitz@disroot.org>2021-11-29 19:45:41 +0200
committerDmitry Zakharchenko <dmitz@disroot.org>2021-11-29 21:52:11 +0200
commit8a7ca4fbbd36df638ac4f8b280055797c9368dce (patch)
tree13d837728271cdbe8a1e165aca4ed026084fac2e
parent7578b960923c049c12846c891c3a92685053b4e2 (diff)
downloadaports-8a7ca4fbbd36df638ac4f8b280055797c9368dce.tar.gz
aports-8a7ca4fbbd36df638ac4f8b280055797c9368dce.tar.bz2
aports-8a7ca4fbbd36df638ac4f8b280055797c9368dce.tar.xz
testing/xcape: new aport
https://github.com/alols/xcape Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
-rw-r--r--testing/xcape/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/xcape/APKBUILD b/testing/xcape/APKBUILD
new file mode 100644
index 0000000000..5ce43968ae
--- /dev/null
+++ b/testing/xcape/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
+# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
+pkgname=xcape
+pkgver=1.2
+pkgrel=0
+pkgdesc="Configure modifier keys to act as other keys when pressed and released on their own"
+url="https://github.com/alols/xcape"
+arch="all"
+license="GPL-3.0"
+options="!check" # no test suite
+makedepends="libxtst-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+package() {
+ make MANDIR=/share/man/man1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79 xcape-1.2.tar.gz
+"