summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d7cc3b2043d92d9d4d29876c201d60e48318ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Lari Tikkanen <lartza at outlook.com>
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
# Contributor: Nelson VuDu <vudu DOT curse AT gmail DOT com>

pkgname=lottanzb-bzr
_pkgname=lottanzb
pkgver=r1740
pkgrel=1
pkgdesc="A SABnzbd+ (Usenet binary downloader) GUI front-end written in PyGTK (bzr version)"
arch=('any')
url="http://www.lottanzb.org/"
license=('GPL')
depends=('python2-dbus' 'python2-configobj' 'pygtk' 'hicolor-icon-theme')
makedepends=('intltool' 'bzr' 'python-dulwich' 'python2-setuptools')
optdepends=('sabnzbd: for local downloading'
	    'par2cmdline: for checking and repairing downloads'
            'pyopenssl: for SSL encryption and HTTPS remote access'
            'python-feedparser: for RSS support'
            'python2-yenc: for a significantly faster decoding of downloads'
	    'unrar: for automatic extraction of downloads'
            'unzip: for automatic extraction of ZIP archives'
            'yelp: for displaying the help content'
	    'intltool: for translation support')
provides=('lottanzb')
conflicts=('lottanzb')
source=(bzr+lp:lottanzb)
sha256sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "r%s" "$(bzr revno)"
}

build() {
  cd "${_pkgname}"
  python2 setup.py build
}

package() {
  cd "${_pkgname}"
  python2 setup.py install --packaging-mode --root=${pkgdir} --prefix=/usr 
}