summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 089bcd4f6d69546600d3a07d5a5b3c70d46c239c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=wofi-hg
pkgver=r0.212598d693a9
pkgrel=1
pkgdesc="Rofi-like wlroots launcher"
arch=('x86_64')
url="https://hg.sr.ht/~scoopta/wofi"
license=('GPL3')
depends=('wayland' 'gtk3')
makedepends=('mercurial')
source=("${pkgname}::hg+$url")
sha256sums=('SKIP')
pkgver() {
        cd "$pkgname"
        printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
        cd "${pkgname}/Release"
        make
}
package() {
        mkdir -p "$pkgdir/usr/bin"
        cp ${pkgname}/Release/wofi "$pkgdir/usr/bin/"
}