summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/nzbget/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/nzbget/PKGBUILD')
-rw-r--r--community/nzbget/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/nzbget/PKGBUILD b/community/nzbget/PKGBUILD
new file mode 100644
index 000000000..1bcf90acc
--- /dev/null
+++ b/community/nzbget/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 94084 2013-07-14 10:32:42Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+pkgname=nzbget
+pkgver=11.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://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('27abacf6c604969dc987b7e50689caef22a65dbb1690b020b0c6d147ae123b3d')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --sbindir=/usr/bin --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
+}