summaryrefslogtreecommitdiffstats
path: root/main/xbanish/APKBUILD
blob: b25d97616fe7e454fa95797946a737a23730ea99 (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.2
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"
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="6349c8e0ccafb19e1f61dfc0fd507437  xbanish-1.2.tar.gz"
sha256sums="fdded965b8b983c29ff118984e0be20c496dd2327fdb81a65a4dd829ad86f621  xbanish-1.2.tar.gz"
sha512sums="bf172b6f35a2223133f586b02ec04f9f9e94257f7f56c81a7f1be1f347a84c4a1b05ee382e3f038cb53c8eac4cd0c5802474481e67d54741ef03b76954777d85  xbanish-1.2.tar.gz"