academic/biblesync: Updated for version 2.1.0.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Tim Dickson 2020-05-29 20:24:10 +01:00 committed by Willy Sudiarto Raharjo
parent 3ba326c05b
commit 34755ca231
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 6 additions and 16 deletions

View file

@ -31,8 +31,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=biblesync
VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -78,8 +78,6 @@ find -L . \
-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 {} \;
#patch bug in pkgconfig file. can remove this after next release of biblesync
sed -i "/^Cflags/s_/bibleysnc__" biblesync.pc.in
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@ -93,23 +91,18 @@ make install DESTDIR=$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
# Compress man page
mkdir -p $PKG/usr/man/man7
mv $PKG/usr/share/man/man7/$PRGNAM.7 $PKG/usr/man/man7/$PRGNAM.7
mv $PKG/usr/share/man $PKG/usr/
gzip $PKG/usr/man/man7/$PRGNAM.7
#remove old man path
rm -r $PKG/usr/share
#copy over docs etc.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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
#now to make the package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,8 @@
PRGNAM="biblesync"
VERSION="2.0.1"
VERSION="2.1.0"
HOMEPAGE="https://github.com/karlkleinpaste/biblesync"
DOWNLOAD="https://github.com/karlkleinpaste/biblesync/releases/download/2.0.1/biblesync-2.0.1.tar.gz"
MD5SUM="b9db8aae61bb0f9a4545c0782968466e"
DOWNLOAD="https://github.com/karlkleinpaste/biblesync/releases/download/2.1.0/biblesync-2.1.0.tar.gz"
MD5SUM="51b0deef468812a1f5b3c87ae5d14fb9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,3 +0,0 @@
#!/bin/sh
#we installed a library so run ldconfig
/sbin/ldconfig