mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
Adding gt a tree like command-line tool written in Go
This commit is contained in:
parent
3579f1cd5b
commit
9d277c2c2c
1 changed files with 21 additions and 0 deletions
21
srcpkgs/gt/template
Normal file
21
srcpkgs/gt/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'gt'
|
||||
pkgname=gt
|
||||
version=1.4.1
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/elbachir-one/${pkgname}"
|
||||
short_desc="A tree-like command-line tool written in Go"
|
||||
maintainer="elbachir-one <bachiralfa@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/elbachir-one/gt"
|
||||
distfiles="https://github.com/elbachir-one/gt/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=8bbfa5b9b3ef756f547d0f40a4de612ffa957a6eb45fee735a9737c0a8824189
|
||||
|
||||
do_build() {
|
||||
go build -o gt .
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -Dm755 gt "$DESTDIR"/usr/bin/gt
|
||||
install -Dm644 gt.1 "$DESTDIR"/usr/share/man/man1/gt.1
|
||||
}
|
Loading…
Add table
Reference in a new issue