summaryrefslogtreecommitdiff
path: root/libraries/unarr/unarr.SlackBuild
diff options
context:
space:
mode:
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