blob: 726d9dbfaec5d8908795c586f2af1fd084baa948 (
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
40
41
|
# Maintainer : Zenn <mine.minefis@gmail.com>
pkgname=wlhc
_gitname=wlhc
_gitrepo=https://git.sr.ht/~whynothugo/wlhc
pkgver=r.5fad1ca
pkgrel=1
pkgdesc="Wayland hot corners"
arch=('any')
license=('custom:wlhc')
url='https://git.sr.ht/~whynothugo/wlhc'
depends=('wayland-compositor')
makedepends=('wayland-protocols' 'wlr-protocols' 'hare-wayland' 'hare-ev')
source=(
"git+${_gitrepo}"
"wlhc.patch"
)
md5sums=(
'SKIP'
'SKIP'
)
pkgver() {
cd ${srcdir}/${_gitname}
printf "r.%s" $(git rev-parse --short HEAD)
}
build()
{
cd "${srcdir}/${_gitname}"
patch main.ha < ../../wlhc.patch
make
}
package()
{
cd "${srcdir}/${pkgname}"
install -Dm755 wlhc "${pkgdir}/usr/bin/wlhc"
}
|