summaryrefslogtreecommitdiff
path: root/community/nzbget/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nzbget/PKGBUILD')
-rw-r--r--community/nzbget/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/community/nzbget/PKGBUILD b/community/nzbget/PKGBUILD
index 1bcf90acc..d9e5a6335 100644
--- a/community/nzbget/PKGBUILD
+++ b/community/nzbget/PKGBUILD
@@ -1,32 +1,33 @@
-# $Id: PKGBUILD 94084 2013-07-14 10:32:42Z jlichtblau $
+# $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=1
+pkgrel=3
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)
+depends=('gnutls' 'libpar2' 'libsigc++' 'libxml2' 'python')
+changelog="${pkgname}.changelog"
+source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
sha256sums=('27abacf6c604969dc987b7e50689caef22a65dbb1690b020b0c6d147ae123b3d')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --sbindir=/usr/bin --enable-parcheck
- make CXXFLAGS="-lsigc-2.0"
+ ./configure --prefix='/usr' --sbindir='/usr/bin' --enable-parcheck
+ make
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
- install -d ${pkgdir}/usr/share/$pkgname
- install -m644 -t ${pkgdir}/usr/share/$pkgname AUTHORS ChangeLog README
+ install -d "${pkgdir}"/usr/share/${pkgname}
+ install -m644 -t "${pkgdir}"/usr/share/${pkgname} AUTHORS ChangeLog README
}
+
+# vim: ts=2 sw=2 et: