-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libkkc #2022
libkkc #2022
Conversation
def post_install(self): | ||
license_dir = f"usr/share/licenses/{pkgname}" | ||
self.install_file("COPYING", f"{license_dir}/GPL-3.0") | ||
|
||
with open("README.md") as f: | ||
readme_lines = f.read().split("\n") | ||
relevant_lines = readme_lines[60:-1] | ||
assert relevant_lines[0] == "GPLv3+" | ||
assert not any(lambda x: x == "```", relevant_lines) | ||
with open("extra-license") as f: | ||
for line in relevant_lines: | ||
f.write(line + "\n") | ||
self.install_file("extra-license", f"{license_dir}/custom") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you definitely dont need any of this
"autoconf", | ||
"automake", | ||
"clang", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"autoconf", | |
"automake", | |
"clang", | |
"automake", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, just copy the version from #1957 for this, though i think i will add this myself for something else first
ah it was this; fixing that isnt too hard but this then fails in like 10 spots later because kkc is an ancient codebase and idk how to fix any of the other parts :D |
Building fails with "ERROR: can't resolve libraries to shared libraries: m, atomic". Not sure what to do about that; manually depending on libatomic-chimera(-devel) doesn't help and IIUC libm is just part of libc under musl.