summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1af2fb133684f037436cf679a76dff6c0ee8f991 (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
# Maintainer: Fazzi <faaris<dot>ansari<at>proton<dot>me>
pkgname=waywall-git
_gitname=waywall
pkgver=r685.2024.10.04
pkgrel=1
pkgdesc="Wayland compositor for Minecraft speedrunning "
arch=('any')
url="https://github.com/tesselslate/waywall"
license=('GPL3')
makedepends=(git wayland-protocols)
depends=(libxkbcommon luajit wayland)
source=("git+https://github.com/tesselslate/${_gitname}.git")
md5sums=('SKIP')

pkgver() {
    cd ${_gitname}
    printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git log -1 --date=short --pretty=format:%cd | sed 's/-/./g')"
}

build() {
    cd "${srcdir}/${_gitname}"
    make
}

package() {
    cd "${srcdir}/${_gitname}/build/waywall"
    install -Dm755 waywall "$pkgdir/usr/bin/waywall"
}