Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package() {
- cd "$_name-$pkgver"
- # root installing the package via setup.py gives the wrong permissions to variants.db
- # we use this workaround until a definitive fix is found
- local variantsdb="build/lib/mygnuhealth/data/variants.db"
- chmod 444 $variantsdb
- # install the actual package with the right permissions
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement