aboutsummaryrefslogtreecommitdiffstats
path: root/main/xbanish/APKBUILD
blob: 3bca71bf61cf640c6e47206a1ac6b13a89e6dade (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
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbanish
pkgver=1.6
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-3-Clause"
depends=""
depends_dev=""
makedepends="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=/usr/share/man/man1 \
		install
}

sha512sums="a0eb7fdac94f95756636c3d3c114771b6865f26cbb7dbd4fbe10ffd29c21725dcd3570caaf0d2381fa0a32092d3348929df80ee7bb78047c7cfffe04cd29a38f  xbanish-1.6.tar.gz"