summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52d1968b18da1d7a11c9c66e29916498a8843c8f (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
# Maintainer: Mark Riedesel <mark@klowner.com>

pkgname=yegonesh
pkgver=20151102
pkgrel=4
pkgdesc="Yeganesh-like dmenu wrapper written in Go"
arch=('x86_64' 'i686')
url="https://github.com/klowner/yegonesh"
license=('MIT')
makedepends=('go')
depends=('dmenu')
options=('!strip' '!emptydirs')
source=(
  "https://raw.githubusercontent.com/Klowner/yegonesh/master/main.go"
)
sha256sums=(
  '5262fbea59aa1fa2cfd06b8642d44ff23586314cced8cb2b30f5cf7804a5f3fb'
)

prepare() {
  go mod init "${url#https://}"
  go mod tidy
}

build() {
  go build -o "$pkgname"
}

package() {
  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}

# vim:set ts=2 sw=2 et: