meson setuptools move to common site-packages directory
This commit is contained in:
1 parent
b90e1a9e58
commit
bf2f1f0152
2 files changed
+2
-4
No files matched your search
@@ -22,7 +22,6 @@ build(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build
|
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||||
mv ${DESTDIR}/usr/lib{,64}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ build(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
python setup.py install --root="${DESTDIR}" --optimize=1 --skip-build
|
python setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||||
install -d "${DESTDIR}/usr/share/vim/vimfiles"
|
install -d "${DESTDIR}/usr/share/vim/vimfiles"
|
||||||
cp -rt "${DESTDIR}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
|
cp -rt "${DESTDIR}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
|
||||||
|
|
||||||
@@ -30,6 +30,5 @@ package(){
|
|||||||
install -Dt "${DESTDIR}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
|
install -Dt "${DESTDIR}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
|
||||||
# fix hardcoded interpreter location
|
# fix hardcoded interpreter location
|
||||||
sed -i "1s|.*|#!/usr/bin/env python3|g" "${DESTDIR}/usr/bin/meson"
|
sed -i "1s|.*|#!/usr/bin/env python3|g" "${DESTDIR}/usr/bin/meson"
|
||||||
mv ${DESTDIR}/usr/lib{,64}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user