Browse Source

xap/seahorse: Upgraded to seahorse-3.30.1.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
488a67a0bb
  1. 1
      xap/seahorse/seahorse-3.20.0.tar.xz.sha1
  2. 1
      xap/seahorse/seahorse-3.30.1.1.tar.xz.sha256
  3. 33
      xap/seahorse/seahorse.SlackBuild

1
xap/seahorse/seahorse-3.20.0.tar.xz.sha1

@ -1 +0,0 @@
db7f592b475c95b5331aadd509d56ffcb4e04d4e seahorse-3.20.0.tar.xz

1
xap/seahorse/seahorse-3.30.1.1.tar.xz.sha256

@ -0,0 +1 @@
9eab0704e79fa343ab37e5890fd357717f2c479f166d90ba02d40b0379eda78b seahorse-3.30.1.1.tar.xz

33
xap/seahorse/seahorse.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2016 Damien Goutte-Gattat
# Copyright (C) 2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-seahorse}
VERSION=${VERSION:-3.20.0}
VERSION=${VERSION:-3.30.1.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-https://download.gnome.org/sources/seahorse/3.20/$ARCHIVE}
WGET=${WGET:-https://download.gnome.org/sources/seahorse/3.30/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-seahorse}
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -86,23 +86,26 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-static \
--disable-pgp \
--disable-ssh
make -j $JOBS
make install-strip DESTDIR=$PKG
meson \
--prefix /usr \
--libdir /usr/lib$LIBDIRSUFFIX \
--mandir /usr/man \
-Dkey-sharing=false \
build .
ninja -C build
DESTDIR=$PKG ninja -C build install
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man and info page
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING{,-DOCS,.LIB} ChangeLog ChangeLog.pre* \
HACKING MAINTAINERS NEWS README THANKS TODO $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING{,-DOCS,.LIB} NEWS README.md THANKS \
$PKG/usr/doc/$NAME
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save