summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
blob: 94f01733aa47c1d2dde4e482316f092cc5ae760f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 16899 2010-05-12 17:57:00Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=nzbget
pkgver=0.7.0
pkgrel=2
pkgdesc="Downloads from Usenet using .nzb files"
arch=('i686' 'x86_64' 'mips64el')
url="http://nzbget.sourceforge.net/"
license=('GPL')
depends=('gnutls' 'libpar2' 'libxml2' 'ncurses')
makedepends=('autoconf' 'automake')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('27971846aba75f5e312d80dce7edbc5d')

build() {
  cd ${srcdir}/$pkgname-$pkgver

#  autoreconf -fi || return 1
#uudeview ("uulib") has been removed, and "it did not work well anyway"
  ./configure --prefix=/usr --enable-parcheck || return 1
  make || return 1
  make DESTDIR=${pkgdir} install

#other files
  install -d ${pkgdir}/usr/share/$pkgname || return 1
  install -m644 -t ${pkgdir}/usr/share/$pkgname \
    AUTHORS postprocess-example.sh postprocess-example.conf \
    ChangeLog nzbget.conf.example README || return 1
}