summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
blob: d9e5a63357c11ad1ec297acead5b8253407ee822 (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 96729 2013-09-03 15:26:43Z alucryd $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=nzbget
pkgver=11.0
pkgrel=3
pkgdesc="Download from Usenet using .nzb files"
arch=('x86_64' 'i686')
url="http://nzbget.sourceforge.net/"
license=('GPL')
depends=('gnutls' 'libpar2' 'libsigc++' 'libxml2' 'python')
changelog="${pkgname}.changelog"
source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
sha256sums=('27abacf6c604969dc987b7e50689caef22a65dbb1690b020b0c6d147ae123b3d')

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

  ./configure --prefix='/usr' --sbindir='/usr/bin' --enable-parcheck
  make
}

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

  make DESTDIR="${pkgdir}" install

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

# vim: ts=2 sw=2 et: