diff options
author | klaatu <klaatu@member.fsf.org> | 2022-03-10 18:12:33 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-10 12:42:08 +0700 |
commit | 7e5f34ea1bdaff6a0d6be35815c53bc5253db5ab (patch) | |
tree | 591f7b5cddfc5a043f5e84e4e2330f262aedcc4e /system/trashy/trashy.SlackBuild | |
parent | dfa5a037c3ad2c963d60690581cdb8ef4e179241 (diff) |
system/trashy: Updated for version 2.5.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/trashy/trashy.SlackBuild')
-rw-r--r-- | system/trashy/trashy.SlackBuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/system/trashy/trashy.SlackBuild b/system/trashy/trashy.SlackBuild index 9699aae205914..a5221a676843e 100644 --- a/system/trashy/trashy.SlackBuild +++ b/system/trashy/trashy.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Slackware build script for trashy -# Copyright 2014 Klaatu @member.fsf.org +# Copyright 2014-22 Klaatu @member.fsf.org # GNU All-Permissive License # Copying and distribution of this file, with or without modification, @@ -12,7 +12,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=trashy -VERSION=${VERSION:-2.3} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,14 +47,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -#make install -mkdir -p $PKG/usr/bin -cp $PRGNAM $PKG/usr/bin/$PRGNAM +aclocal +automake --add-missing +autoconf +./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION -( - cd $PKG/usr/bin - ln -s $PRGNAM trash -) +make +make install DESTDIR=$PKG #man mkdir -p $PKG/usr/man/man8/ @@ -62,11 +64,14 @@ cp $CWD/$PRGNAM.8 $PKG/usr/man/man8/$PRGNAM.8 gzip $PKG/usr/man/man8/$PRGNAM.8 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.md COPYING INSTALL \ +$PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |