aur/sabnzbd to 0.7.6-1

This commit is contained in:
Kevin Mihelich 2012-12-03 23:31:11 +00:00
parent 4a155fb30d
commit 1951719bad
2 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,6 @@
pkgname=sabnzbd pkgname=sabnzbd
_pkgname=SABnzbd _pkgname=SABnzbd
pkgver=0.7.4 pkgver=0.7.6
pkgrel=1 pkgrel=1
pkgdesc="A web-interface based binary newsgrabber with NZB file support" pkgdesc="A web-interface based binary newsgrabber with NZB file support"
url="http://www.sabnzbd.org" url="http://www.sabnzbd.org"
@ -8,13 +8,14 @@ arch=("any")
license=("GPL") license=("GPL")
depends=("curl" "par2cmdline" depends=("curl" "par2cmdline"
"python2" "python2-cheetah" "python2-feedparser" "python2-pyopenssl" "python2-yenc" "python2" "python2-cheetah" "python2-feedparser" "python2-pyopenssl" "python2-yenc"
"sqlite" "unrar" "unzip" "xdg-utils") "sqlite" "unrar" "unzip")
optdepends=("xdg-utils: registration of .nzb files")
install="${pkgname}.install" install="${pkgname}.install"
backup=("etc/conf.d/${pkgname}" "opt/${pkgname}/${pkgname}.ini") backup=("etc/conf.d/${pkgname}" "opt/${pkgname}/${pkgname}.ini" "etc/conf.d/${pkgname}_systemd")
source=("http://downloads.sourceforge.net/sabnzbdplus/${_pkgname}-${pkgver}-src.tar.gz" source=("http://downloads.sourceforge.net/sabnzbdplus/${_pkgname}-${pkgver}-src.tar.gz"
"${pkgname}" "${pkgname}.confd" "${pkgname}.init" "${pkgname}.desktop" "${pkgname}" "${pkgname}.confd" "${pkgname}.init" "${pkgname}.desktop"
"addnzb.sh" "nzb-2.png" "sab2_64.png" "x-nzb.xml" "${pkgname}.service" "${pkgname}_systemd.confd" "${pkgname}.tmp") "addnzb.sh" "nzb-2.png" "sab2_64.png" "x-nzb.xml" "${pkgname}.service" "${pkgname}_systemd.confd" "${pkgname}.tmp")
md5sums=('6c5e24b4dc9fa3004e4724845afe2cae' md5sums=('2d88fc29b65caec28d57ba7de36d31b0'
'48d60a1c626503c7fef1bc5374390513' '48d60a1c626503c7fef1bc5374390513'
'7d7ae7cca08e90582587773da3b55de8' '7d7ae7cca08e90582587773da3b55de8'
'848c7b117388671f243bd0833ff41f89' '848c7b117388671f243bd0833ff41f89'
@ -23,7 +24,7 @@ md5sums=('6c5e24b4dc9fa3004e4724845afe2cae'
'2a49c07b1e3e6448eabe92644315f983' '2a49c07b1e3e6448eabe92644315f983'
'fdc878dd0f6f25617e627b04409abbbd' 'fdc878dd0f6f25617e627b04409abbbd'
'11fb2cd1451e3725b08bfc2bd045be54' '11fb2cd1451e3725b08bfc2bd045be54'
'7c2971c330fc131e75ad55979231edff' 'cc154e71046495c5768d2998b4b0fb0f'
'321a56d66a971c833677a54bc3f1060d' '321a56d66a971c833677a54bc3f1060d'
'1ced962fabe7f5392e32828429b93d04') '1ced962fabe7f5392e32828429b93d04')

View file

@ -1,9 +1,10 @@
[Unit] [Unit]
Description=SABnzbd binary newsreader Description=SABnzbd binary newsreader
After=network.target
[Service] [Service]
EnvironmentFile=/etc/conf.d/sabnzbd_systemd EnvironmentFile=/etc/conf.d/sabnzbd_systemd
ExecStart=/bin/sh/ -c "python2 ${SABNZBD_DIR}/SABnzbd.py ${SABNZBD_ARGS} --pid /run/sabnzbd" ExecStart=/bin/sh -c "python2 ${SABNZBD_DIR}/SABnzbd.py ${SABNZBD_ARGS} --pid /run/sabnzbd"
ExecStop=/usr/bin/curl -f "${SABNZBD_PROTOCOL}://${SABNZBD_USPW}${SABNZBD_IP}:${SABNZBD_PORT}/sabnzbd/api?mode=shutdown&apikey=${SABNZBD_KEY}" ExecStop=/usr/bin/curl -f "${SABNZBD_PROTOCOL}://${SABNZBD_USPW}${SABNZBD_IP}:${SABNZBD_PORT}/sabnzbd/api?mode=shutdown&apikey=${SABNZBD_KEY}"
Type=forking Type=forking
PIDFile=/run/sabnzbd/sabnzbd-8080.pid PIDFile=/run/sabnzbd/sabnzbd-8080.pid