mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
xbps-go: new package
This commit is contained in:
parent
53549729d8
commit
44cf7e3b6a
1 changed files with 40 additions and 0 deletions
40
srcpkgs/xbps-go/template
Normal file
40
srcpkgs/xbps-go/template
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Template file for 'xbps-go'
|
||||||
|
pkgname=xbps-go
|
||||||
|
version=0.0.1
|
||||||
|
build_style=custom-install
|
||||||
|
build_wrksrc=xbps-go
|
||||||
|
short_desc="xbps go programs"
|
||||||
|
maintainer="Mike Rosset <mike.rosset@gmail.com>"
|
||||||
|
homepage="https://github.com/vanilla/xbps-go"
|
||||||
|
license="BSD"
|
||||||
|
long_desc="
|
||||||
|
Set of go programs used to interface with xbp-src and xbps.
|
||||||
|
"
|
||||||
|
nofetch=yes
|
||||||
|
noextract=yes
|
||||||
|
nostrip=yes
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
|
||||||
|
Add_dependency build go
|
||||||
|
Add_dependency build git
|
||||||
|
|
||||||
|
do_fetch()
|
||||||
|
{
|
||||||
|
local url="git://github.com/vanilla/xbps-go.git"
|
||||||
|
cd $wrksrc
|
||||||
|
git clone ${url} ${build_wrksrc}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build()
|
||||||
|
{
|
||||||
|
. /etc/profile.d/go.sh
|
||||||
|
GOPATH=${wrksrc}/${build_wrksrc}
|
||||||
|
goinstall upstream
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
cd ${wrksrc}/${build_wrksrc}
|
||||||
|
vinstall bin/upstream 755 usr/bin
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue