# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Jaroslav Lichtblau # Contributor: Jaroslav Lichtblau pkgname=nzbget pkgver=0.6.0 pkgrel=1 pkgdesc="Downloads from Usenet using .nzb files." arch=('i686' 'x86_64') url="http://nzbget.sourceforge.net/" license=('GPL') depends=('ncurses' 'libpar2' 'libxml2') makedepends=('autoconf' 'automake') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('eb95b3930abffb570e37af8d284c1f9d') 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 || return 1 make DESTDIR="${pkgdir}" install #other files install -d "${pkgdir}/usr/share/$pkgname" install -m644 -t "${pkgdir}/usr/share/$pkgname" \ "AUTHORS" "ChangeLog" "nzbget.conf.example" "README" || return 1 }