summaryrefslogtreecommitdiff
path: root/community-testing/nzbget/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/nzbget/PKGBUILD')
-rw-r--r--community-testing/nzbget/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/nzbget/PKGBUILD b/community-testing/nzbget/PKGBUILD
new file mode 100644
index 000000000..278e38ac8
--- /dev/null
+++ b/community-testing/nzbget/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 53834 2011-08-08 19:30:16Z jelle $
+# 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
+}