summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efe68ca6765a509e27eb456ca9b9c20611cbd28a (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
# Maintainer: Marc Straube <email@marcstraube.de>

pkgname=hyprland-plugin-easymotion-git
pkgbase=hyprland-plugin-easymotion
pkgver=r74.80b1b3f
pkgrel=1
pkgdesc="A single dispatcher that brings up window labels and then allows you to execute a user-defined command when one of those labels is typed"
arch=('x86_64')
url="https://github.com/zakk4223/hyprland-easymotion"
license=('BSD')
source=(${pkgname}::git+https://github.com/zakk4223/hyprland-easymotion.git)
sha512sums=('SKIP')
depends=('hyprland')
makedepends=('git')
options=(!debug)

pkgver() {
    cd "${srcdir}/${pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

package() {
    cd "${srcdir}/${pkgname}"
    install -Dm755 hypreasymotion.so "$pkgdir/usr/lib/hypreasymotion.so"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/hyprland-plugin-easymotion-git/LICENSE"
}