mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/autoarchive: Updated for version 1.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
afc8a23d33
commit
99892ffa51
3 changed files with 13 additions and 13 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=autoarchive
|
||||
VERSION=${VERSION:-1.1.0}
|
||||
VERSION=${VERSION:-1.1.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,24 +69,24 @@ 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 {} \;
|
||||
|
||||
python3 setup.py install --root=$PKG
|
||||
# fix docs path
|
||||
sed -i 's/share\/doc/doc/' setup.py
|
||||
# fix man pages path
|
||||
sed -i 's/share\/man/man/g' setup.py
|
||||
|
||||
mv $PKG/usr/share/man $PKG/usr
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
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
|
||||
|
||||
mv $PKG/etc/aa/aa.conf $PKG/etc/aa/aa.conf.new
|
||||
mv $PKG/etc/aa/aa.conf $PKG/etc/aa/aa.conf.new
|
||||
|
||||
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README COPYING NEWS PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mv $PKG/usr/share/doc/$PRGNAM-$VERSION/examples/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $PKG/usr/share/doc/$PRGNAM-$VERSION/html/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm -rf $PKG/usr/share/
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="autoarchive"
|
||||
VERSION="1.1.0"
|
||||
VERSION="1.1.1"
|
||||
HOMEPAGE="http://autoarchive.sourceforge.net/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/autoarchive/files/autoarchive/1.1.0/autoarchive-1.1.0.tar.bz2"
|
||||
MD5SUM="43395e2d0f3619c04d6c828bc98f6cf0"
|
||||
DOWNLOAD="http://sourceforge.net/projects/autoarchive/files/autoarchive/1.1.1/autoarchive-1.1.1.tar.bz2"
|
||||
MD5SUM="5fc072f8c90e66cfb6da7ed135b3978b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3"
|
||||
|
|
|
@ -8,7 +8,7 @@ config() {
|
|||
fi
|
||||
}
|
||||
|
||||
config /etc/aa/aa.conf.new
|
||||
config /etc/aa/aa.conf.new
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue