aboutsummaryrefslogtreecommitdiffstats
path: root/main/xbanish/APKBUILD
blob: a38be13846cef34618ba5c5ba789bf1a9ead5aea (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
29
30
31
32
33
34
35
36
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbanish
pkgver=1.5
pkgrel=0
pkgdesc="Banish the mouse cursor when typing, show it again when the mouse moves"
url="https://github.com/jcs/xbanish"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev libx11-dev libxt-dev libxfixes-dev libxi-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$_builddir"
	make
}

package() {
	cd "$_builddir"

	mkdir -p "$pkgdir"/usr/bin
	mkdir -p "$pkgdir"/usr/share/man/man1
	make \
		PREFIX=/usr \
		DESTDIR="$pkgdir" \
		MANDIR="$pkgdir"/usr/share/man/man1 \
		install
}

sha512sums="bf0bede46ee13e624a3a2ea9d62d2fa97aa18cf11d9185dd3851543929d88437ff35533fd9477a3b54f70c951cc73aa628758b725705780911afbfaa39f2e6e5  xbanish-1.5.tar.gz"