fixed feiertage-1.3 for real this time :-)

This commit is contained in:
tastytea 2018-05-10 09:44:40 +02:00
parent c5ca8a71f2
commit 683aeb7d07
Signed by untrusted user: tastytea
GPG Key ID: 59346E0EA35C67E5

View File

@ -21,14 +21,16 @@ DEPEND="${RDEPEND}
src_prepare() {
mkdir -p src/github.com/wlbr
cd src/github.com/wlbr
ln -s feiertage ../../../
ln -s ../../../ feiertage
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
}
src_compile()
{
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -o bin/feiertage cmd/feiertage/feiertage.go
}
src_install() {
dobin bin/${PN}
dodoc README.md