summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPradana Aumars2019-07-15 12:54:30 +0200
committerPradana Aumars2019-07-15 12:54:30 +0200
commita6ef89f8c4124650ee2ffb7fcca708298d854960 (patch)
tree37715402e6cc7f02ce2dbaec4575d526f5beb247 /PKGBUILD
parent57286f3e15eb50590425405c5e19ab8531e70b8e (diff)
downloadaur-qira.tar.gz
Create venv before moving opt/
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d93b566466..df197209434 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,13 +27,15 @@ package() {
mv qiradb/VERSION VERSION
sed -i "/import sys/c\import sys\nsys.path.append('/usr/lib64/python2.7/site-packages')" middleware/qira.py
+
+ virtualenv2 venv
+ source venv/bin/activate
install -d "${pkgdir}/opt/${pkgname}"
cp -r . "${pkgdir}/opt/${pkgname}"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- virtualenv2 venv
- source venv/bin/activate
+
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}