|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2013 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2013,2016 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -24,14 +24,12 @@
|
|
|
|
|
# |
|
|
|
|
# Latest seahorse sourcecode is available at: |
|
|
|
|
# <https://projects.gnome.org/seahorse/>. |
|
|
|
|
# |
|
|
|
|
# Depends: ap/itstool, l/libsecret |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-seahorse} |
|
|
|
|
VERSION=${VERSION:-3.8.2} |
|
|
|
|
VERSION=${VERSION:-3.20.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-ftp://ftp.gnome.org/pub/GNOME/sources/seahorse/3.8/$ARCHIVE} |
|
|
|
|
WGET=${WGET:-https://download.gnome.org/sources/seahorse/3.20/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-seahorse} |
|
|
|
@ -92,7 +90,9 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--prefix=/usr \ |
|
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX \ |
|
|
|
|
--mandir=/usr/man \ |
|
|
|
|
--disable-static |
|
|
|
|
--disable-static \ |
|
|
|
|
--disable-pgp \ |
|
|
|
|
--disable-ssh |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
|
|
|
|
@ -101,7 +101,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 AUTHORS COPYING COPYING-DOCS ChangeLog ChangeLog.pre* \ |
|
|
|
|
install -m 644 AUTHORS COPYING{,-DOCS,.LIB} ChangeLog ChangeLog.pre* \ |
|
|
|
|
HACKING MAINTAINERS NEWS README THANKS TODO $PKG/usr/doc/$NAME |
|
|
|
|
|
|
|
|
|
# Copy slack-desc and doinst.sh files |
|
|
|
|