graphics/hugin: Fix doc permissions.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-06-30 18:37:00 -04:00 committed by Willy Sudiarto Raharjo
parent caeae6018a
commit 4f5a053208
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -24,6 +24,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230630 bkw: Modified by SlackBuilds.org, BUILD=3:
# - fix permissions of files in /usr/doc (they were 770).
# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
# - fix build if /usr/bin/wx-config points to wxPython2.
# - remove install instructions from doc dir.
@ -32,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hugin
VERSION=${VERSION:-2021.0.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -102,7 +105,7 @@ cd ..
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.txt Changes.txt README TODO \
install -m0644 -oroot -groot AUTHORS COPYING.txt Changes.txt README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild