diff options
author | Pablo Santamaria <pablosantamaria@gmail.com> | 2011-12-21 22:25:59 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-21 22:25:59 -0600 |
commit | 912bb9b21aeb60c65730eb5ded50500f0e14be6b (patch) | |
tree | 08d72ecd839c3da250dbf0ddd91f5849e4ac8c46 /system/makepasswd/makepasswd.SlackBuild | |
parent | 87a3c0e0e74763838460e9d8e47fcd8094da42eb (diff) | |
download | slackbuilds-912bb9b21aeb60c65730eb5ded50500f0e14be6b.tar.gz |
system/makepasswd: Updated for version 0.5.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 |