diff options
Diffstat (limited to 'system/makepasswd/makepasswd.SlackBuild')
-rw-r--r-- | system/makepasswd/makepasswd.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/system/makepasswd/makepasswd.SlackBuild b/system/makepasswd/makepasswd.SlackBuild index df0c5043a3..786406b899 100644 --- a/system/makepasswd/makepasswd.SlackBuild +++ b/system/makepasswd/makepasswd.SlackBuild @@ -5,16 +5,14 @@ # Written by Pablo Santamaria (pablosantamaria@gmail.com) PRGNAM=makepasswd -VERSION=${VERSION:-0.4.2} +VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,13 +54,10 @@ find . \ make CFLAGS="$SLKCFLAGS" make PREFIX=$PKG/usr install -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS BUGS INSTALL README \ - $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |