mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
ruby/rubygem-lolcat: Remove empty man dir.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
a35ec4698d
commit
4dd62a24e6
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=rubygem-lolcat
|
PRGNAM=rubygem-lolcat
|
||||||
VERSION=${VERSION:-99.9.20}
|
VERSION=${VERSION:-99.9.20}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -110,6 +110,9 @@ gem install \
|
||||||
--bindir $PKG/usr/bin \
|
--bindir $PKG/usr/bin \
|
||||||
$CWD/$SRCNAM-$VERSION.gem
|
$CWD/$SRCNAM-$VERSION.gem
|
||||||
|
|
||||||
|
# remove empty /usr/share/man directory
|
||||||
|
rm -rf $PKG/usr/share
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue