fixed feiertage-1.3 for real this time :-)
This commit is contained in:
parent
c5ca8a71f2
commit
683aeb7d07
|
@ -21,14 +21,16 @@ DEPEND="${RDEPEND}
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
mkdir -p src/github.com/wlbr
|
mkdir -p src/github.com/wlbr
|
||||||
cd src/github.com/wlbr
|
cd src/github.com/wlbr
|
||||||
ln -s feiertage ../../../
|
ln -s ../../../ feiertage
|
||||||
cd ../../../
|
cd ../../../
|
||||||
ls
|
|
||||||
sed -Ei 's|GOOS=linux GOARCH=amd64 +([^_]+feiertage)_linux[^ ]+ +(cmd/.+)|\1 \2|' Makefile || die
|
|
||||||
sed -Ei 's|GOOS=.*\.go||' Makefile || die
|
|
||||||
default_src_prepare
|
default_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_compile()
|
||||||
|
{
|
||||||
|
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o bin/feiertage cmd/feiertage/feiertage.go
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin bin/${PN}
|
dobin bin/${PN}
|
||||||
dodoc README.md
|
dodoc README.md
|
||||||
|
|
Reference in New Issue
Block a user