openjdk9-bootstrap: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:10 +07:00
parent 10238e0f4b
commit 00bf3350d3
1 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ version=9.0.4p12
revision=3
_repo_ver=${version/p/+}
archs="x86_64* i686* aarch64* arm* ppc64*"
wrksrc="jdk9u-jdk-${_repo_ver}"
create_wrksrc=yes
build_style=gnu-configure
configure_args="
--prefix=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib
@ -78,9 +78,10 @@ fi
export CCACHE_DISABLE=1
post_extract() {
mv jdk9u*/* .
chmod +x configure
for subrepo in corba hotspot jdk jaxws jaxp langtools nashorn; do
mv ../${subrepo}-jdk-${_repo_ver} ${subrepo}
mv ${subrepo}-jdk-${_repo_ver} ${subrepo}
done
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then