1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

Ports: Clean up some package.sh scripts

- Remove superfluous function overrides and use makeopts instead
- Remove superfluous installopts
- Use run rather than cd'ing manually
- Ensure empty line between functions
This commit is contained in:
Linus Groh 2021-01-21 19:12:25 +01:00 committed by Andreas Kling
parent a4fbdb97c7
commit 7cc7f7ac54
5 changed files with 7 additions and 14 deletions

View file

@ -11,9 +11,11 @@ installopts="DESTDIR=$SERENITY_ROOT/Build/Root install-gcc install-target-libgcc
depends="binutils"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg gcc-${version}.tar.xz.sig"
post_fetch() {
run contrib/download_prerequisites
}
build() {
run make $makeopts
run find ./host-i686-pc-serenity/gcc/ -maxdepth 1 -type f -executable -exec strip --strip-debug {} \; || echo