[arch-commits] Commit in deluge/trunk (PKGBUILD)

Hugo Doria hugo at archlinux.org
Sat Mar 21 17:44:55 UTC 2009


    Date: Saturday, March 21, 2009 @ 13:44:55
  Author: hugo
Revision: 30727

upgpkg: deluge 1.1.5-2
    Fixing FS#12071. Added a daemon, a .install and a user and group

Modified:
  deluge/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-21 17:25:52 UTC (rev 30726)
+++ PKGBUILD	2009-03-21 17:44:55 UTC (rev 30727)
@@ -3,23 +3,27 @@
 
 pkgname=deluge
 pkgver=1.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A bittorrent client written with python and pygtk"
 arch=('i686' 'x86_64')
 url="http://deluge-torrent.org/"
 license=('GPL3')
 depends=('pygtk' 'boost>=1.37.0' 'pyxdg' 'dbus-python' 'librsvg' 'setuptools' 'libtorrent-rasterbar>=0.14.2')
 makedepends=('subversion' 'intltool')
-options=('!emptydirs')
-source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('027fec63e189a39939df6777c0426814')
+source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.bz2 deluged)
+md5sums=('027fec63e189a39939df6777c0426814' '6e1585bdc79243b1cd22ed9423cc4ec2')
+install="deluge.install"
 
 build() {
 
   cd ${srcdir}/${pkgname}-${pkgver}/
-  python setup.py build
-  python setup.py install --prefix=/usr --root=${pkgdir}
 
-  install -D -m644 deluge/data/pixmaps/deluge.svg ${pkgdir}/usr/share/pixmaps/deluge.svg 
+  python setup.py build || return 1
+  python setup.py install --prefix=/usr --root=${pkgdir} || return 1
+
+  install -d -m755 ${pkgdir}/home/deluge || return 1
+  install -D -m644 deluge/data/pixmaps/deluge.svg ${pkgdir}/usr/share/pixmaps/deluge.svg || return 1
+  install -D -m755 ${srcdir}/deluged ${pkgdir}/etc/rc.d/deluged || return 1
+
 }
 




More information about the arch-commits mailing list