mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/avr8-gnu-toolchain: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
96ff4027b4
commit
8cf56f0a8b
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" != "i486" ] && [ "$ARCH" != "x86_64" ]; then
|
||||
if [ "$ARCH" != "i586" ] && [ "$ARCH" != "x86_64" ]; then
|
||||
echo -ne "\nError: \"${ARCH}\" architecture is not supported. \n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -102,7 +102,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION/man -type f -exec gzip -9 {} \;
|
|||
for i in $( find $PKG/usr/doc/$PRGNAM-$VERSION/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
cp -a doc/avr-libc $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $CWD/avr8-gnu-toolchain-3.4.1.798-readme.pdf $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp $CWD/avr8-gnu-toolchain-3.4.1.798-readme.pdf $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
Loading…
Reference in a new issue