mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
system/trashy: Updated for version 2.5.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dfa5a037c3
commit
7e5f34ea1b
3 changed files with 19 additions and 13 deletions
1
system/trashy/doinst.sh
Normal file
1
system/trashy/doinst.sh
Normal file
|
@ -0,0 +1 @@
|
|||
ln -s /usr/bin/trashy /usr/bin/trash
|
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="trashy"
|
||||
VERSION="2.3"
|
||||
VERSION="2.5.1"
|
||||
HOMEPAGE="http://slackermedia.info/trashy"
|
||||
DOWNLOAD="https://gitlab.freedesktop.org/notklaatu/trashy/-/archive/2.3/trashy-2.3.tar.bz2"
|
||||
MD5SUM="34134a6eac7aa41f072034edc54ddaca"
|
||||
DOWNLOAD="https://gitlab.com/trashy/trashy/-/archive/2.5.1/trashy-2.5.1.tar.bz2
|
||||
MD5SUM="a466a47c74d20ef1d564fc134704c54c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue