Browse Source

n/sabnzbd: Upgraded to sabnzbd-3.0.0Beta2.

current-20200608
parent
commit
a316a54dec
  1. 1
      n/sabnzbd/SABnzbd-2.3.9-src.tar.gz.sha256
  2. 1
      n/sabnzbd/SABnzbd-3.0.0Beta2-src.tar.gz.sha256
  3. 2
      n/sabnzbd/doinst.sh
  4. 16
      n/sabnzbd/sabnzbd.SlackBuild

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

@ -1 +0,0 @@
f3ab6dffba914e6ddf88f1a755ec3ebaa95f0bdbec6f04b7bf0f90822249bb0c SABnzbd-2.3.9-src.tar.gz

1
n/sabnzbd/SABnzbd-3.0.0Beta2-src.tar.gz.sha256

@ -0,0 +1 @@
d26fa01014ce226dc8c435aa7db7e5f509d273be00600d20cff23d4f9c9d5f2e SABnzbd-3.0.0Beta2-src.tar.gz

2
n/sabnzbd/doinst.sh

@ -27,4 +27,4 @@ chown sabnzbd:sabnzbd etc/sabnzbd.ini*
chmod 640 etc/sabnzbd.ini*
# Generate byte-compiled code
python -OO /usr/libexec/sabnzbd/SABnzbd.py --help > /dev/null
python3 -OO /usr/libexec/sabnzbd/SABnzbd.py --help > /dev/null

16
n/sabnzbd/sabnzbd.SlackBuild

@ -24,12 +24,13 @@
#
# Latest sabnzbd sourcecode is available at: <http://www.sabnzbd.org/>.
#
# Depends: ap/par2, l/cheetah, l/sabyenc, ap/par2
# Recommends: ap/p7zip, ap/unrar, l/python-cryptography
# Depends: ap/par2, ap/unrar, l/cheetah, l/cherrypy, l/python-configobj
# Depends: l/python-cryptography, l/python-feedparser, l/sabyenc
# Recommends: ap/p7zip
# Source package infos
NAMESRC=${NAMESRC:-SABnzbd}
VERSION=${VERSION:-2.3.9}
VERSION=${VERSION:-3.0.0Beta2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.gz}
WGET=${WGET:-https://github.com/sabnzbd/sabnzbd/releases/download/$VERSION/$ARCHIVE}
@ -74,13 +75,13 @@ cd $NAME
# Install program and library files
mkdir -p $PKG/usr/libexec/sabnzbd
install -m 755 SABnzbd.py $PKG/usr/libexec/sabnzbd
cp -r cherrypy email gntp icons interfaces licenses locale sabnzbd util \
cp -r email icons interfaces licenses locale sabnzbd \
$PKG/usr/libexec/sabnzbd/
# Install documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ABOUT.txt COPYRIGHT.txt GPL?.txt ISSUES.txt \
LICENSE.txt README.txt $PKG/usr/doc/$NAMEPKG-$VERSION
LICENSE.txt README.mkd $PKG/usr/doc/$NAMEPKG-$VERSION
# Install template configuration file and control script
mkdir -p $PKG/etc/rc.d
@ -94,8 +95,13 @@ install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
cheetah
cherrypy
par2
python-configobj
python-cryptography
python-feedparser
sabyenc
unrar
EOF
# Package the tree

Loading…
Cancel
Save