|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2013,2016,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2013,2016,2019,2020 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.30.1.1} |
|
|
|
VERSION=${VERSION:-3.36.2} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
WGET=${WGET:-https://download.gnome.org/sources/seahorse/3.30/$ARCHIVE} |
|
|
|
WGET=${WGET:-https://download.gnome.org/sources/seahorse/3.36/$ARCHIVE} |
|
|
|
|
|
|
|
# Build infos |
|
|
|
NAMEPKG=${NAMEPKG:-seahorse} |
|
|
@ -99,9 +99,6 @@ DESTDIR=$PKG ninja -C build install |
|
|
|
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} NEWS README.md THANKS \ |
|
|
|