desktop/evilwm: Remove template comments from script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
41b977452a
commit
86bcce2666
|
@ -69,19 +69,15 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Set CFLAGS
|
||||
sed -ie "s/^CFLAGS = .*/CFLAGS = $SLKCFLAGS/" Makefile
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Strip binaries and libraries
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# Move man pages to Slackware's standard location
|
||||
mv $PKG/usr/share/man $PKG/usr
|
||||
|
||||
# Compress man pages
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
|
|
Loading…
Reference in New Issue