summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50497a27b6f5fb78efedbd015eb707d7e64db1c1 (plain)
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
# Contributor: snakeroot <cwa AT pipeline DOT com>
pkgname=consolation
pkgver=0.0.8
pkgrel=1
pkgdesc="Libinput-based console pointer support for copy-paste, similar to gpm"
arch=('x86_64')
url="https://salsa.debian.org/consolation-team/consolation"
license=('GPL')
depends=('libevdev>=0.9.1' 'libinput>=1.5.0' 'systemd>=183' 'help2man')
source=("https://deb.debian.org/debian/pool/main/c/consolation/${pkgname}_${pkgver}.orig.tar.xz")
md5sums=('717a794c9a330b3eeb1589ea46cd89aa')

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr \
	--sbindir=/usr/bin 
	make 
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -D -m644 consolation.service "${pkgdir}/usr/lib/systemd/system/consolation.service"
}