diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-24 09:20:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-25 07:25:14 +0700 |
commit | 73614e0b64a8becf4467f4da59e1306626402100 (patch) | |
tree | 7f2de745ea97ef2726aab34a37d316771b5ebb54 /system/freedup/freedup.SlackBuild | |
parent | 83e0c95551c434cfeaaacd409b22b85a9c362491 (diff) | |
download | slackbuilds-73614e0b64a8becf4467f4da59e1306626402100.tar.gz |
system/freedup: Updated for version 1.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/freedup/freedup.SlackBuild')
-rw-r--r-- | system/freedup/freedup.SlackBuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/system/freedup/freedup.SlackBuild b/system/freedup/freedup.SlackBuild index 720249161d..8b06bcd082 100644 --- a/system/freedup/freedup.SlackBuild +++ b/system/freedup/freedup.SlackBuild @@ -23,12 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=freedup -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -ALTVER=${ALTVER:-1.6} -SRCVERSION=${SRCVERSION:-1.6-2-src} +ALTVER=${ALTVER:-1.6-3} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -62,26 +61,27 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2 -mv $PRGNAM-$ALTVER $PRGNAM-$VERSION -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$ALTVER +tar xvf $CWD/$PRGNAM-$ALTVER-src.tar.bz2 +cd $PRGNAM-$ALTVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" make -j1 DCOL="" -make install PRE=$PKG MANPAGEDIR=$PKG/usr/man/ +make install MANDIR=/usr/man/ DESTDIR=$PKG -find $PKG | xargs 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 +chmod -x $PKG/usr/man/man1/* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README TODO html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |