blob: c1034fb80e48227970c8903c0b4cc14235e1b092 (
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
|
# Maintainer: gr m21 <grm21@protonmail.com>
pkgname=lnch
pkgver=6ed336d
pkgrel=1
epoch=1
pkgdesc="A simple go binary that runs and disowns a command"
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
makedepends=('git' 'go')
url="https://github.com/oem/lnch"
license=('MIT')
source=(git+https://github.com/oem/lnch)
sha256sums=('SKIP')
provides=('lnch')
pkgver() {
cd ${pkgname%-git}
echo $pkgver
}
build() {
cd ${pkgname%-git}
msg2 'Building...'
go build -o lnch main.go
}
package() {
cd ${pkgname%-git}
install -Dm 755 lnch -t "$pkgdir"/usr/bin
}
|