mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
fix nord
This commit is contained in:
parent
17d735ce91
commit
550d69dcc5
1 changed files with 3 additions and 13 deletions
|
@ -26,23 +26,13 @@ rm -fr $PRGNAM $PKG
|
|||
( cd $REPOSITORY && git pull )
|
||||
VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
# Preparation
|
||||
cd $TMP/$PRGNAM
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Installation
|
||||
mkdir -p $PKG$PREFIX/{doc,share}/$PRGNAM
|
||||
mv src/nord $PKG$PREFIX/share/$PRGNAM/nord.Xresources
|
||||
mv * $PKG$PREFIX/doc/$PRGNAM
|
||||
cp $REPOSITORY/src/nord $PKG$PREFIX/share/$PRGNAM/nord.Xresources
|
||||
cp -r $REPOSITORY/* $PKG$PREFIX/doc/$PRGNAM
|
||||
|
||||
# Cleaning
|
||||
cd $PKG
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
Loading…
Reference in a new issue