aboutsummaryrefslogtreecommitdiffstats
path: root/community/hhpc/APKBUILD
blob: d435c530984c5d3ee5eea3cb3905f7a37f90cc38 (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
39
# Contributor: 7heo <7heo@mail.com>
# Maintainer: 7heo <7heo@mail.com>
pkgname=hhpc
pkgver=0.3.2
pkgrel=0
pkgdesc="An utility to automatically hide the mouse pointer after a specified delay of inactivity"
url="https://github.com/aktau/hhpc"
arch="all"
license="3-clause BSD"
depends=""
depends_dev=""
makedepends="$depends_dev libx11-dev"
install=""
subpackages=""
source="hhpc-$pkgver.tar.gz::https://github.com/7heo/hhpc/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/hhpc-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="2d579207ce5d6b3fbbfa4b81109ffaa3  hhpc-0.3.2.tar.gz"
sha256sums="7701e20143133317d0746b6f723bdd9bff92fb7c4bd9af745e632444dbbc3afa  hhpc-0.3.2.tar.gz"
sha512sums="c07a054c1826cff530f27c047e52bc982bfe057fa5c92dfd3af42750b4aa8369c614529b62e701c5f9199749659f47e3c56bcbc68b14a0b86b35c9a031d80417  hhpc-0.3.2.tar.gz"