Browse Source

n/sabnzbd: Upgraded to sabnzbd-2.3.2.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
a5bba7e589
  1. 1
      n/sabnzbd/SABnzbd-1.0.0-src.tar.gz.sha1
  2. 1
      n/sabnzbd/SABnzbd-2.3.2-src.tar.gz.sha256
  3. 22
      n/sabnzbd/sabnzbd.SlackBuild

1
n/sabnzbd/SABnzbd-1.0.0-src.tar.gz.sha1

@ -1 +0,0 @@
96d85f4787ff36628eb432ebea950ef0a7ea11cb SABnzbd-1.0.0-src.tar.gz

1
n/sabnzbd/SABnzbd-2.3.2-src.tar.gz.sha256

@ -0,0 +1 @@
8a38d3a630aecd71e3cda140828bda8d062c69d6f09ca6246dfb998abffbfb50 SABnzbd-2.3.2-src.tar.gz

22
n/sabnzbd/sabnzbd.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011,2012,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2010-2013,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,18 +24,18 @@
#
# Latest sabnzbd sourcecode is available at: <http://www.sabnzbd.org/>.
#
# Depends: l/cheetah, l/python-yenc, ap/par2
# Recommends: ap/unrar, l/pyopenssl
# Depends: l/cheetah, l/sabyenc, ap/par2
# Recommends: ap/unrar, ap/p7zip, l/python-cryptography
# Source package infos
NAMESRC=${NAMESRC:-SABnzbd}
VERSION=${VERSION:-1.0.0}
VERSION=${VERSION:-2.3.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.gz}
WGET=${WGET:-https://github.com/sabnzbd/sabnzbd/releases/download/$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-sabnzbd}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -62,7 +62,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Extract everything
@ -80,8 +80,7 @@ cp -r cherrypy email gntp icons interfaces licenses locale sabnzbd util \
# Install documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ABOUT.txt COPYRIGHT.txt GPL?.txt ISSUES.txt \
LICENSE.txt PKG-INFO README.txt scripts/Sample-PostProc.cmd \
$PKG/usr/doc/$NAMEPKG-$VERSION
LICENSE.txt PKG-INFO README.txt $PKG/usr/doc/$NAMEPKG-$VERSION
# Install template configuration file and control script
mkdir -p $PKG/etc/rc.d
@ -92,6 +91,13 @@ install -m 644 $CWD/rc.sabnzbd $PKG/etc/rc.d/rc.sabnzbd
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
cheetah
sabyenc
par2
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save