fixed feiertage-1.3

This commit is contained in:
tastytea 2018-05-10 09:24:30 +02:00
parent 4e5eea280e
commit c5ca8a71f2
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 11 additions and 2 deletions

View File

@ -22,6 +22,15 @@ src_prepare() {
mkdir -p src/github.com/wlbr
cd src/github.com/wlbr
ln -s feiertage ../../../
sed -Ei 's|GOOS=linux GOARCH=amd64 +([^_]+feiertage)_linux[^ ]+ +(cmd/.+)|\1 \2|' Makefile
sed -Ei 's|GOOS=.*\.go||' Makefile
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_install() {
dobin bin/${PN}
dodoc README.md
einfo "This ebuild only installs the binary."
}