summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 02:55:54 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 02:55:54 +0000
commit334ab065a665f512a885f24b15d927af482775d4 (patch)
tree649a286013d696f4f71e9fad209a37796b37ddb0
parent43b60beb3683582dba2610095c5c0d9fe103ec4c (diff)
parent78f079e1d6b44f1f79d7446ab7e87775ae3048b8 (diff)
downloadpackages-334ab065a665f512a885f24b15d927af482775d4.tar.gz
packages-334ab065a665f512a885f24b15d927af482775d4.tar.bz2
packages-334ab065a665f512a885f24b15d927af482775d4.tar.xz
packages-334ab065a665f512a885f24b15d927af482775d4.zip
Merge branch 'xcape' into 'master'
user/xcape: new package See merge request !25
-rw-r--r--user/xcape/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/xcape/APKBUILD b/user/xcape/APKBUILD
new file mode 100644
index 000000000..327e3579d
--- /dev/null
+++ b/user/xcape/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xcape
+pkgver=1.2
+pkgrel=0
+pkgdesc="Utility to make modifier keys act as other keys when pressed and released on their own"
+url="https://github.com/alols/xcape"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="pkgconf libx11-dev libxtst-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check" # No test suite.
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" MANDIR="/share/man/man1" install
+}
+
+sha512sums="5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79 xcape-1.2.tar.gz"