summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/deluge/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-03 03:26:50 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-03 03:26:50 (GMT)
commit94be58b530423249b0fd8d47755db401cdddd19e (patch)
tree471fd0aa16dd6edec5636c2a4714b65b0199f6dd /abs/extra/community/deluge/PKGBUILD
parent9e1bbb32ae25fef6111d95205614a612ed9f70ec (diff)
downloadlinhes_pkgbuild-94be58b530423249b0fd8d47755db401cdddd19e.zip
linhes_pkgbuild-94be58b530423249b0fd8d47755db401cdddd19e.tar.gz
linhes_pkgbuild-94be58b530423249b0fd8d47755db401cdddd19e.tar.bz2
deluge: upgrade
Diffstat (limited to 'abs/extra/community/deluge/PKGBUILD')
-rw-r--r--abs/extra/community/deluge/PKGBUILD43
1 files changed, 29 insertions, 14 deletions
diff --git a/abs/extra/community/deluge/PKGBUILD b/abs/extra/community/deluge/PKGBUILD
index 8238baa..3d36405 100644
--- a/abs/extra/community/deluge/PKGBUILD
+++ b/abs/extra/community/deluge/PKGBUILD
@@ -1,25 +1,40 @@
-# $Id: PKGBUILD 26558 2009-02-09 16:10:09Z hugo $
-# Maintainer: Hugo Doria <hugo@archlinux.org>
+# $Id: PKGBUILD 97661 2010-10-31 22:31:52Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=deluge
-pkgver=1.2.2
+pkgver=1.3.1
pkgrel=1
pkgdesc="A bittorrent client written with python and pygtk"
-arch=('i686' 'x86_64')
+arch=('any')
url="http://deluge-torrent.org/"
license=('GPL3')
-depends=('pygtk' 'boost>=1.37.0' 'pyxdg' 'dbus-python' 'librsvg' 'setuptools')
-makedepends=('subversion' 'intltool')
-options=('!emptydirs')
-source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.gz)
+depends=('pyxdg' 'python2-distribute' 'libtorrent-rasterbar>=0.15.0' 'twisted' 'pyopenssl' 'xdg-utils' 'python-chardet')
+makedepends=( 'intltool' 'pygtk' 'librsvg' 'python-mako')
+optdepends=('python-notify: libnotify notifications'
+ 'pygtk: needed for gtk ui'
+ 'librsvg: needed for gtk ui'
+ 'python-mako: needed for web ui')
+source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.bz2 deluged deluged.conf.d deluge-web)
+backup=(etc/conf.d/deluged)
+install=deluge.install
+md5sums=('496a9cfaf01e6cf7ab141498acf2d1f1'
+ '7d5790eeb14cd0b47d1bb3e0a19c9935'
+ '332d23fe0d21ce92b494efd73322856c'
+ '6c913ec7322eaa60494ac9d53103005f')
build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py build
+}
- cd ${srcdir}/${pkgname}-${pkgver}/
- python setup.py build
- python setup.py install --prefix=/usr --root=${pkgdir}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
- install -D -m644 deluge/data/pixmaps/deluge.svg ${pkgdir}/usr/share/pixmaps/deluge.svg
+ install -d -m755 "${pkgdir}"/srv/deluge
+ install -D -m644 deluge/data/pixmaps/deluge.svg "${pkgdir}"/usr/share/pixmaps/deluge.svg
+ install -D -m755 "${srcdir}"/deluged "${pkgdir}"/etc/rc.d/deluged
+ install -D -m755 "${srcdir}"/deluge-web "${pkgdir}"/etc/rc.d/deluge-web
+ install -D -m644 "${srcdir}"/deluged.conf.d "${pkgdir}"/etc/conf.d/deluged
}
-
-md5sums=('5165c6113efa75e2be0310976ce55e43')