blob: c8643f29139c1cd116463cd0fe0828c2af2ded0f (
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 70376 2012-05-05 12:41:24Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=nzbget
pkgver=0.8.0
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://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('646939596097fafdeb0b4064b433463419e7d0d9af7fe32f6689d6b95ad77d95')
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 postprocess-example.sh postprocess-example.conf \
ChangeLog nzbget.conf.example README
}
|