summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
blob: 18385aef8c201f84ed1717e959b8e8819ff75da9 (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
# $Id: PKGBUILD 83419 2013-01-31 20:33:20Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=nzbget
pkgver=9.1
pkgrel=1
pkgdesc="Download from Usenet using .nzb files"
arch=('x86_64' 'i686')
url="http://nzbget.sourceforge.net/"
license=('GPL')
depends=('gnutls' 'libpar2' 'libxml2' 'libsigc++' 'libgcrypt')
makedepends=('autoconf' 'automake')
changelog=$pkgname.changelog
source=(http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz)
sha256sums=('0cd20e1c78359c720862c19c5fd908dc10d6b54658441b86f9caaa71f66e5633')

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

  ./configure --prefix=/usr --enable-parcheck
  make CXXFLAGS="-lsigc-2.0"
}

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

  make DESTDIR=${pkgdir} install

  install -d ${pkgdir}/usr/share/$pkgname
  install -m644 -t ${pkgdir}/usr/share/$pkgname AUTHORS ChangeLog README
}