summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
blob: f61ad81cff9e4c17745ebadffe73614dc38730ee (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
31
32
33
# $Id: PKGBUILD 54477 2011-08-18 15:08:22Z bluewind $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=nzbget
pkgver=0.7.0
pkgrel=3
pkgdesc="Downloads from Usenet using .nzb files"
arch=('i686' 'x86_64')
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 
}
package() {
  cd ${srcdir}/$pkgname-$pkgver
  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
}