summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2018-01-09 13:10:02 +0100
committer Willy Sudiarto Raharjo2018-01-10 17:56:02 +0100
commita312bdfe734be2e363432996990e422e305f256c (patch)
tree978f6eb78137fe431e2f82945bfebc033158de57
parent1db0942926e0c6fea2cdf44bfe51184841879f3f (diff)
downloadslackbuilds-a312bdfe734be2e363432996990e422e305f256c.tar.gz
libraries/unarr: Updated for version 1.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/unarr/slack-desc2
-rw-r--r--libraries/unarr/unarr.SlackBuild12
-rw-r--r--libraries/unarr/unarr.info10
3 files changed, 10 insertions, 14 deletions
diff --git a/libraries/unarr/slack-desc b/libraries/unarr/slack-desc
index 11a4186cbc..22c39541e7 100644
--- a/libraries/unarr/slack-desc
+++ b/libraries/unarr/slack-desc
@@ -16,4 +16,4 @@ unarr: book archives (.cbr). It was written as an alternative to
unarr: libarchive which didn't have support for parsing filters or solid
unarr: compression at the time.
unarr:
-unarr: homepage: https://github.com/zeniko/unarr
+unarr: homepage: https://github.com/selmf/unarr
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
diff --git a/libraries/unarr/unarr.info b/libraries/unarr/unarr.info
index 9bf18cdb71..2f59c69193 100644
--- a/libraries/unarr/unarr.info
+++ b/libraries/unarr/unarr.info
@@ -1,10 +1,10 @@
PRGNAM="unarr"
-VERSION="20150801_d1be8c4"
-HOMEPAGE="https://github.com/zeniko/unarr"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/unarr-20150801_d1be8c4.tar.xz"
-MD5SUM="33d3c1f85acb9e1e8228874c4a51bf2a"
+VERSION="1.0.1"
+HOMEPAGE="https://github.com/selmf/unarr"
+DOWNLOAD="https://github.com/selmf/unarr/releases/download/v1.0.1/unarr-1.0.1.tar.xz"
+MD5SUM="995a3de03b8a083c342e7d4b5a44fd52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="p7zip"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"