mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 15:07:14 +08:00
Amending the PyPy PKGBUILD...
This commit is contained in:
parent
a2828ed0dc
commit
6d243ed006
@ -26,15 +26,15 @@ package() {
|
||||
cd "pypy/tool/release"
|
||||
|
||||
# Make PyPy release package first
|
||||
pypy package.py ../../.. pypy
|
||||
pypy package.py ../../.. "${pkgname}"
|
||||
|
||||
# Then, install it under "${pkgdir}/opt"
|
||||
install -d "${pkgdir}/opt"
|
||||
tar -jxvf "/tmp/usession-unknown-${USER}/build/pypy.tar.bz2" -C "${pkgdir}/opt"
|
||||
tar -jxvf "/tmp/usession-unknown-${USER}/build/${pkgname}.tar.bz2" -C "${pkgdir}/opt"
|
||||
|
||||
# Install binary symlink
|
||||
install -d "${pkgdir}/usr/bin"
|
||||
ln -sf "/opt/${pkgname}-${pkgver}/bin/pypy" "${pkgdir}/usr/bin/pypy"
|
||||
ln -sf "/opt/${pkgname}/bin/pypy" "${pkgdir}/usr/bin/pypy"
|
||||
|
||||
# Install license file
|
||||
cd "${srcdir}/${pkgname}-${pkgname}-release-${pkgver}"
|
||||
|
Loading…
Reference in New Issue
Block a user