app=gcc-libs
version=9.3.0
build=1sml
homepage="https://gcc.gnu.org/"
download="https://gcc.gnu.org/"
desc="Separate GCC and libstdc++ libraries"
requires="musl"

build() {

  mkandenterbuilddir
  rm -rf $app-$version-$ARCH

  tar xf $srcdir/$app-$version-$arch.tar.?z
  cd $app-$version-$arch

  mkdir -p $pkg/lib
  cp -av * $pkg/lib/

  mkfinalpkg
}

sha512sums="
9a098fc7df9491f73d3f58474390018ad3120a36b4122b47696d3ea60c4095fcdb7d002809b1b2e7eefbae828271f85c6eba298dc16a0b9605b4601368f0c4af  gcc-libs-9.3.0-aarch64.tar.lz
e3dd69faf7722270e096f093633d116d1c707d62c267e4cb5a18128f55f3a57c1572d34ed51d901fbc0da969639cffd4efd19a591f3625117ca91c7c6c82a622  gcc-libs.aarch64.tar.lz
2fc2c35ab88f97e723ea905c20fd749eacc626195fd4b4361f691aa3219ec3f88d3628a419db7fb827fa03fd54675bea2bbd1190cee5a3d89b28ab4949fcb15e  gcc-libs.x86_64.tar.lz
"
