fixed feiertage-1.3

This commit is contained in:
tastytea 2018-05-10 09:24:30 +02:00
parent 4e5eea280e
commit c5ca8a71f2
Signed by untrusted user: tastytea
GPG Key ID: 59346E0EA35C67E5

View File

@ -22,6 +22,15 @@ 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 ../../../
sed -Ei 's|GOOS=linux GOARCH=amd64 +([^_]+feiertage)_linux[^ ]+ +(cmd/.+)|\1 \2|' Makefile cd ../../../
sed -Ei 's|GOOS=.*\.go||' Makefile 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."
} }