mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
sabnzbd: update to 1.0.3.
Adopted. Cleaned up.
This commit is contained in:
parent
c5f2c1c35e
commit
4441226386
2 changed files with 13 additions and 13 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd /usr/share/sabnzbd/
|
cd /usr/share/sabnzbd/
|
||||||
./SABnzbd.py $*
|
./SABnzbd.py "$@"
|
||||||
|
|
|
@ -1,22 +1,23 @@
|
||||||
# Template file for 'sabnzbd'
|
# Template file for 'sabnzbd'
|
||||||
pkgname=sabnzbd
|
pkgname=sabnzbd
|
||||||
version=1.0.2
|
version=1.0.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="SABnzbd-${version}"
|
wrksrc="SABnzbd-${version}"
|
||||||
depends="par2cmdline python-cheetah python-configobj python-feedparser python-gntp python-openssl python-yenc unzip"
|
depends="par2cmdline python-cheetah python-configobj python-feedparser
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
python-gntp python-openssl python-yenc unzip"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
# sabnzbd itself is GPL, but it bundles libraries that are covered by
|
# sabnzbd itself is GPL, but it bundles libraries that are covered by
|
||||||
# BSD, LGPL-2 and MIT. In combination, that makes this package GPL.
|
# BSD, LGPL-2 and MIT. In combination, that makes this package GPL.
|
||||||
license="GPL"
|
license="GPL-2"
|
||||||
homepage="http://sabnzbd.org/"
|
homepage="http://sabnzbd.org/"
|
||||||
short_desc="SABnzbd is an Open Source Binary Newsreader written in Python"
|
short_desc="SABnzbd is an Open Source Binary Newsreader written in Python"
|
||||||
distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz"
|
distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz"
|
||||||
checksum=9ced2f4b9486674e8b0a920769710b16e7d96a9981d5aa47b6584f2c3a1e0b62
|
checksum=cf87d3f17fc03e8b3a4b3010261115c2ad7e2f773b5ede95a80025b340dbbd35
|
||||||
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_dirs="/usr/share/sabnzbd"
|
pycompile_dirs="/usr/share/sabnzbd"
|
||||||
|
|
||||||
pre_install() {
|
post_extract() {
|
||||||
rm -rf gntp sabnzbd/utils/{feedparser,configobj}.py
|
rm -rf gntp sabnzbd/utils/{feedparser,configobj}.py
|
||||||
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
||||||
rm -rf solaris
|
rm -rf solaris
|
||||||
|
@ -31,13 +32,12 @@ pre_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/licenses/${pkgname}
|
vbin ${FILESDIR}/sabnzbd
|
||||||
mv licenses/* ${DESTDIR}/usr/share/licenses/${pkgname}
|
|
||||||
mv COPYRIGHT.txt ${DESTDIR}/usr/share/licenses/${pkgname}
|
|
||||||
rmdir licenses
|
|
||||||
|
|
||||||
vmkdir usr/share/sabnzbd
|
vmkdir usr/share/sabnzbd
|
||||||
mv * ${DESTDIR}/usr/share/sabnzbd/
|
vcopy "*" usr/share/sabnzbd
|
||||||
|
|
||||||
vinstall ${FILESDIR}/sabnzbd 0755 usr/bin/
|
for _f in licenses/* COPYRIGHT.txt; do
|
||||||
|
vlicense ${_f}
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue