aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consolation/APKBUILD
blob: db7dea9d82eb8365f1eeeedd7d093cb78ba6f71c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=consolation
pkgver=0.0.8
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/consolation_$pkgver.orig.tar.xz
	consolation.initd"
makedepends="linux-headers libinput-dev eudev-dev libevdev-dev"
subpackages="$pkgname-doc"

build() {
	./configure --prefix=/usr --sbindir=/usr/sbin
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir/" install
	install -Dm755 "$srcdir/consolation.initd" \
		"$pkgdir/etc/init.d/consolation"
}

sha512sums="1a2a55ae1fe1d39237d63554c28f65c66cdc3c22e65437c4383418e1fe63ab7eff4591ee1afbd0303d19a388f7cc9894f83235b35ae6b9b6d69762ce48e46287  consolation_0.0.8.orig.tar.xz
7cdfcf71d4e8fa9ed4b9d42f3cd40fdd4fee68b268dda5a1e2743fe44eea7cbb46c947181c83fae070fbfe4fd3af6f040d409a1ee62f8ba972fb00f0de7ec726  consolation.initd"