summaryrefslogtreecommitdiffstats
path: root/libraries/unarr/unarr.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2018-01-09 13:10:02 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-10 23:56:02 +0700
commita312bdfe734be2e363432996990e422e305f256c (patch)
tree978f6eb78137fe431e2f82945bfebc033158de57 /libraries/unarr/unarr.SlackBuild
parent1db0942926e0c6fea2cdf44bfe51184841879f3f (diff)
downloadslackbuilds-a312bdfe734be2e363432996990e422e305f256c.tar.gz
slackbuilds-a312bdfe734be2e363432996990e422e305f256c.tar.xz
libraries/unarr: Updated for version 1.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/unarr/unarr.SlackBuild')
-rw-r--r--libraries/unarr/unarr.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/libraries/unarr/unarr.SlackBuild b/libraries/unarr/unarr.SlackBuild
index 2b30aaa4cf..5a90b3f1ec 100644
--- a/libraries/unarr/unarr.SlackBuild
+++ b/libraries/unarr/unarr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for unarr
-# Copyright 2016-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unarr
-VERSION=${VERSION:-20150801_d1be8c4}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING README"
+DOCS="AUTHORS COPYING README.md"
set -e
@@ -71,11 +71,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# The CMakeLists.txt is shamelessly stolen from Felix Kauselmann
-# https://raw.githubusercontent.com/selmf/unarr/master/CMakeLists.txt
-sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/CMakeLists.txt > CMakeLists.txt
-
-cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
+cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX
make
make install DESTDIR=$PKG