blob: e9c031f07f3d1d3104986dfe772aedd012722d1d (
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
34
35
|
# Maintainer: Stefan Prandl (redezem) <redezem@pm.me>
_pkgname=connekt
pkgname="$_pkgname-git"
pkgver=r14.c4cb895
pkgrel=1
pkgdesc="TUI interface for rekt.network"
arch=(x86_64)
url="https://github.com/sector-f/connekt/"
license=('MIT')
depends=(
'mpv'
)
makedepends=(
'go'
)
provides=(connekt)
conflicts=(${provides[@]})
source=("$_pkgname"::"git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
go build
}
package() {
cd "$srcdir/$_pkgname"
install -Dm555 $_pkgname -t "${pkgdir}/usr/bin/"
}
|