aboutsummaryrefslogblamecommitdiffstats
path: root/testing/consolation/APKBUILD
blob: 961e3b3861866b53cf2e8910925fea3277503b1f (plain) (tree)

































                                                                                                                                                                           
# 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"