1 # Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
5 true && pkgname=('nntpgrab-gtk' 'nntpgrab-qt')
8 pkgdesc="NNTPGrab is an open source usenet download program"
10 url="http://www.nntpgrab.nl/"
12 makedepends=('gtk2' 'libsoup' 'networkmanager' 'qt'
13 'pkgconfig' 'par2cmdline' 'intltool')
15 source=("http://openftd.mirrors.sebsoft.nl/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2")
19 cd ${pkgbase}-${pkgver}
22 --enable-introspection=no \
24 --enable-gtk-doc-html=no \
25 --enable-gtk-doc-pdf=no \
31 qmake gui_qt.pro -o Makefile
36 qmake server_qt.pro -o Makefile
41 package_nntpgrab-gtk() {
42 pkgdesc="NNTPGrab is an open source usenet download program"
43 depends=('gtk2' 'libsoup' 'networkmanager' 'desktop-file-utils')
44 optdepends=('par2cmdline: for automatic repair'
45 'unrar: for automatic extraction')
46 install='nntpgrab.install'
47 cd ${pkgbase}-${pkgver}
48 make DESTDIR=${pkgdir} install
51 package_nntpgrab-qt() {
52 pkgdesc="NNTPGrab is an open source usenet download program qt version"
53 depends=('nntpgrab-gtk' 'qt')
54 optdepends=('par2cmdline: for automatic repair'
55 'unrar: for automatic extraction')
56 install='nntpgrab.install'
57 cd ${pkgbase}-${pkgver}
58 mkdir -p ${pkgdir}/usr/bin
59 mkdir -p ${pkgdir}/usr/share/applications
60 install -m 0755 client/gui_qt/nntpgrab_gui_qt ${pkgdir}/usr/bin/nntpgrab_gui_qt
61 mkdir -p ${pkgdir}/usr/share/nntpgrab/translations/
62 install -m 0644 client/gui_qt/translations/*.qm ${pkgdir}/usr/share/nntpgrab/translations
63 install -m 0644 client/gui_qt/nntpgrab_qt.desktop ${pkgdir}/usr/share/applications/nntpgrab_qt.desktop
64 install -m 0755 server_qt/nntpgrab_server_qt ${pkgdir}/usr/bin/nntpgrab_server_qt
65 install -m 0644 server_qt/nntpgrab_server_qt.desktop ${pkgdir}/usr/share/applications/nntpgrab_server_qt.desktop
67 sha256sums=('0df5253924a388ef65ef106f83606b23188b412dcb115f554f04f92a2e140743')