summaryrefslogtreecommitdiffstats
path: root/multimedia/l-smash/l-smash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/l-smash/l-smash.SlackBuild')
-rw-r--r--multimedia/l-smash/l-smash.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/l-smash/l-smash.SlackBuild b/multimedia/l-smash/l-smash.SlackBuild
index 07c3386d59..bd6629af53 100644
--- a/multimedia/l-smash/l-smash.SlackBuild
+++ b/multimedia/l-smash/l-smash.SlackBuild
@@ -22,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20230708 bkw: BUILD=4, install shared lib +x.
+# 20220411 bkw: BUILD=3, put README in right place (not /install!)
# 20210910 bkw: include our own README since there are no docs
# 20180215 bkw: update for 2.14.5
# 20170302 bkw: use long-format github URL
@@ -38,7 +40,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=l-smash
VERSION=${VERSION:-2.14.5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,6 +98,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
make
make install DESTDIR=$PKG
+chmod 755 $PKG/usr/lib*/*.so.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
@@ -103,10 +106,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# 20210910 bkw: upstream didn't bother with any docs other than --help
# messages. Include our own README, which at least tells the user the
-# names of the binaries (hint: none of them are called -lsmash!), and
+# names of the binaries (hint: none of them are called l-smash!), and
# tells him to use the --help option.
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+
mkdir -p $PKG/install
-cat $CWD/README > $PKG/install/README
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG