Add Go module
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://go.dev/dl/go${V_PKG}.src.tar.gz"
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::install_docfiles 'CONTRIBUTING.md' 'LICENSE' 'PATENTS' 'README.md' 'SECURITY.md' 'VERSION'
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::compile() {
|
||||
cd src
|
||||
./all.bash
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
:
|
||||
}
|
||||
Reference in New Issue
Block a user