diff options
author | James Meyer <jams@linhes.org> | 2010-12-04 23:48:49 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-04 23:48:49 (GMT) |
commit | 037ab1a6a2fee07c83b47dc4d4ffd629b9052e85 (patch) | |
tree | a4256da38a768da362aad34ad9a8bcc7da611c30 /abs/extra/community/deluge/PKGBUILD | |
parent | 0b251e4b5f6d56e5aba84aaf780fbf4e6a289245 (diff) | |
parent | 2ddfcdc1360af607e5925afe0e0f3562ad538738 (diff) | |
download | linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.zip linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.tar.gz linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/community/deluge/PKGBUILD')
-rw-r--r-- | abs/extra/community/deluge/PKGBUILD | 43 |
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') |