aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consolation/APKBUILD
diff options
context:
space:
mode:
authorDanct12 <danct12@disroot.org>2020-01-05 22:59:57 +0700
committerMilan P. Stanić <mps@arvanta.net>2020-01-05 17:27:32 +0100
commitb9e9dda696cbdd8e0b538ceb3fc374f084829422 (patch)
tree4862659c972c0fff826638d336241798a98e6800 /testing/consolation/APKBUILD
parent7abe160ecfdf0ecc46b85dd71363bb1aff3bc3e3 (diff)
downloadaports-b9e9dda696cbdd8e0b538ceb3fc374f084829422.tar.gz
aports-b9e9dda696cbdd8e0b538ceb3fc374f084829422.tar.bz2
aports-b9e9dda696cbdd8e0b538ceb3fc374f084829422.tar.xz
testing/consolation: new aport
Signed-off-by: Danct12 <danct12@disroot.org>
Diffstat (limited to 'testing/consolation/APKBUILD')
-rw-r--r--testing/consolation/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/consolation/APKBUILD b/testing/consolation/APKBUILD
new file mode 100644
index 0000000000..961e3b3861
--- /dev/null
+++ b/testing/consolation/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Danct12 <danct12@disroot.org>
+# Maintainer: Danct12 <danct12@disroot.org>
+pkgname=consolation
+pkgver=0.0.7
+pkgrel=0
+pkgdesc="Libinput-based console pointer support for copy-paste"
+arch="all"
+url="https://salsa.debian.org/consolation-team/consolation"
+license="MIT GPL-2.0-only"
+source="https://deb.debian.org/debian/pool/main/c/consolation/${pkgname}_${pkgver}.orig.tar.xz
+ consolation.initd"
+makedepends="linux-headers libinput-dev eudev-dev libevdev-dev"
+subpackages="$pkgname-doc"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ ./configure --prefix=/usr --sbindir=/usr/sbin
+}
+
+build() {
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir/" install
+ install -Dm755 "${srcdir}/consolation.initd" \
+ "${pkgdir}/etc/init.d/consolation"
+}
+
+check() {
+ make check
+}
+sha512sums="d04cb6ff18de20c9c060ad96863c9871204ceb5be58fd1073bb11aff8c072cc78c1271678bb1d3b05578c5959f332ea14ac7634af0346a03ff5925ecd0f71305 consolation_0.0.7.orig.tar.xz
+7cdfcf71d4e8fa9ed4b9d42f3cd40fdd4fee68b268dda5a1e2743fe44eea7cbb46c947181c83fae070fbfe4fd3af6f040d409a1ee62f8ba972fb00f0de7ec726 consolation.initd"