aboutsummaryrefslogtreecommitdiffstats
path: root/main/xbanish/APKBUILD
blob: 3396028b79704b2141dca2348eb12ed83ad1bec9 (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
37
38
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer:
pkgname=xbanish
pkgver=1.3
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
}

md5sums="62666973525f83fc7b3df8c48776db3c  xbanish-1.3.tar.gz"
sha256sums="559205703f2a6306eef3ee1997685ae2b83a217452218eb1806d9b4647f0ac4e  xbanish-1.3.tar.gz"
sha512sums="0669cc8889e03e794d3397ac3024da14a539f55b6ea3d1b11fe72127ec33941933c874cddab67c70bc409f5c56a6bbd53be0da82ffeb18f9930cefc83d9e7531  xbanish-1.3.tar.gz"