summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f0cee310ceae66e28b1d068f740e7e1f1c2f1cb (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
# Maintainer: Andrej Benz <hello[at]benz[dot]dev>

pkgname=walker
pkgver=0.0.48
pkgrel=1
pkgdesc='wayland application runner'
url='https://github.com/abenz1267/walker'
arch=('x86_64')
license=('MIT')
makedepends=('go')
depends=('gtk4-layer-shell')
optdepends=('fd: for finder module'
            'fzf: for finder module'
            'wl-clipboard: for clipboard module')
conflicts=('walker')
provides=('walker')
source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('a3f91d4f328a74c1c2b55e3a0f154a576e853a74ab98e0edacd0757f24a5fd0a')
b2sums=('f150dd5597f3baad31813e6418a03d6c88ebc2ac51a27318c5fb43dc89f2fc233e78557c9c0b45ac8b20ff09dcaed2aa07e4be11ec6c3a8e34983dd2ed8bceb2')

build() {
  cd ${pkgname}-${pkgver}

  go build -x
}

package() {
  cd ${pkgname}-${pkgver}
  install -Dm 755 walker -t "${pkgdir}/usr/bin"
  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}