1 # Maintainer: Stephen Weinberg <stephen-at-q5comm.com>
6 pkgdesc="Downloads from Usenet using .nzb files"
8 url="http://nzbget.sourceforge.net/"
10 depends=('gnutls' 'libpar2' 'libxml2' 'ncurses')
11 makedepends=('svn' 'autoconf' 'automake')
17 _svntrunk='https://nzbget.svn.sourceforge.net/svnroot/nzbget/trunk'
21 cd ${srcdir} || return 1
22 svn co "$_svntrunk" "$_svnmod" || return 1
23 cd "$_svnmod" || return 1
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 touch configure Makefile.in
30 ./configure --prefix=/usr --enable-parcheck || return 1
32 make DESTDIR=${pkgdir} install || return 1
35 install -d ${pkgdir}/usr/share/$pkgname || return 1
36 install -m644 -t ${pkgdir}/usr/share/$pkgname \
37 AUTHORS postprocess-example.sh postprocess-example.conf \
38 ChangeLog nzbget.conf.example README || return 1