freebsd-ports/x11/ly/files/git-submodules-to-gh-tuple.awk
Mateusz Piotrowski 756c0aa663 New port: x11/ly: TUI (ncurses-like) display manager for X and Wayland
Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD.

It supports both X11 and Wayland sessions.

WWW: https://github.com/cylgom/ly

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D22228
2019-11-15 15:04:01 +00:00

20 lines
260 B
Awk

#! /usr/bin/awk -f
# $FreeBSD$
BEGIN {
group_number = 0
printf "GH_TUPLE="
}
{
account = "cylgom"
project = $2
gsub(".*/", "", project)
hash = $1
path = $2
printf " \\\n\t%s:%s:%s:%s/%s", account, project, hash, project, path
}
END {
printf "\n"
}