|
|
@ -3,7 +3,7 @@ |
|
|
# Slackware build script for Shapely |
|
|
# Slackware build script for Shapely |
|
|
|
|
|
|
|
|
# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> |
|
|
# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> |
|
|
# Copyright 2021 Gregory J. L. Tourte <artourter@gmail.com> |
|
|
|
|
|
|
|
|
# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com> |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
@ -75,13 +75,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz |
|
|
cd $PRGNAM-$VERSION |
|
|
cd $PRGNAM-$VERSION |
|
|
chown -R root:root . |
|
|
chown -R root:root . |
|
|
find -L . \ |
|
|
find -L . \ |
|
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
|
|
|
|
|
|
|
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
|
|
-o -perm 511 \) -exec chmod 755 {} \; -o \ |
|
|
-o -perm 511 \) -exec chmod 755 {} \; -o \ |
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
|
|
|
|
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
|
# remove unnecessary .pxi file |
|
|
# remove unnecessary .pxi file |
|
|
sed -i "s/data_files\s*=.*/data_files = [],/g" setup.py |
|
|
|
|
|
|
|
|
sed -i '/include_package_data=/s/True/False/' setup.py |
|
|
|
|
|
|
|
|
python3 setup.py install --root=$PKG |
|
|
python3 setup.py install --root=$PKG |
|
|
|
|
|
|
|
|
|