[arch-commits] Commit in deluge/repos/extra-any (8 files)

Jan Steffens heftig at archlinux.org
Fri Feb 27 12:54:06 UTC 2015


    Date: Friday, February 27, 2015 @ 13:54:06
  Author: heftig
Revision: 232073

archrelease: copy trunk to extra-any

Added:
  deluge/repos/extra-any/PKGBUILD
    (from rev 232072, deluge/trunk/PKGBUILD)
  deluge/repos/extra-any/deluge-web.service
    (from rev 232072, deluge/trunk/deluge-web.service)
  deluge/repos/extra-any/deluge.install
    (from rev 232072, deluge/trunk/deluge.install)
  deluge/repos/extra-any/deluged.service
    (from rev 232072, deluge/trunk/deluged.service)
Deleted:
  deluge/repos/extra-any/PKGBUILD
  deluge/repos/extra-any/deluge-web.service
  deluge/repos/extra-any/deluge.install
  deluge/repos/extra-any/deluged.service

--------------------+
 PKGBUILD           |   92 +++++++++++++++++++++++++--------------------------
 deluge-web.service |   20 +++++------
 deluge.install     |   41 ++++++++++------------
 deluged.service    |   22 ++++++------
 4 files changed, 86 insertions(+), 89 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-27 12:52:25 UTC (rev 232072)
+++ PKGBUILD	2015-02-27 12:54:06 UTC (rev 232073)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-
-pkgname=deluge
-pkgver=1.3.11
-pkgrel=1
-pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
-arch=('any')
-url="http://deluge-torrent.org/"
-license=('GPL3')
-depends=(python2-xdg libtorrent-rasterbar python2-twisted python2-pyopenssl
-         python2-chardet python2-setuptools)
-makedepends=(intltool pygtk librsvg python2-mako)
-optdepends=('python2-notify: libnotify notifications'
-            'pygtk: needed for gtk ui'
-            'librsvg: needed for gtk ui'
-            'python2-mako: needed for web ui')
-install=deluge.install
-source=(http://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.lzma
-        deluged.service deluge-web.service)
-md5sums=('49f9f5fc751d49ddd415f02123de77a8'
-         '17f51ac9a90f0dc41a20291444a7489b'
-         '2a73f62c04e8b147c731fbb50666e846')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i '1s/python$/&2/' deluge/ui/Win32IconImagePlugin.py
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python2 setup.py build
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  install -Dm644 ../deluged.service "$pkgdir/usr/lib/systemd/system/deluged.service"
-  install -Dm644 ../deluge-web.service "$pkgdir/usr/lib/systemd/system/deluge-web.service"
-
-  install -d "$pkgdir/srv"
-  install -d -m 775 -o 125 -g 125 "$pkgdir/srv/deluge"
-}

Copied: deluge/repos/extra-any/PKGBUILD (from rev 232072, deluge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-27 12:54:06 UTC (rev 232073)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=deluge
+pkgver=1.3.11
+pkgrel=2
+pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
+arch=('any')
+url="http://deluge-torrent.org/"
+license=('GPL3')
+depends=(python2-xdg libtorrent-rasterbar python2-twisted python2-pyopenssl
+         python2-chardet python2-setuptools)
+makedepends=(intltool pygtk librsvg python2-mako)
+optdepends=('python2-notify: libnotify notifications'
+            'pygtk: needed for gtk ui'
+            'librsvg: needed for gtk ui'
+            'python2-mako: needed for web ui')
+install=deluge.install
+source=(http://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.lzma
+        deluged.service deluge-web.service)
+md5sums=('49f9f5fc751d49ddd415f02123de77a8'
+         '17f51ac9a90f0dc41a20291444a7489b'
+         '2a73f62c04e8b147c731fbb50666e846')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '1s/python$/&2/' deluge/ui/Win32IconImagePlugin.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 ../deluged.service "$pkgdir/usr/lib/systemd/system/deluged.service"
+  install -Dm644 ../deluge-web.service "$pkgdir/usr/lib/systemd/system/deluge-web.service"
+
+  install -d "$pkgdir/srv"
+  install -d -m 775 -o 125 -g 125 "$pkgdir/srv/deluge"
+}

Deleted: deluge-web.service
===================================================================
--- deluge-web.service	2015-02-27 12:52:25 UTC (rev 232072)
+++ deluge-web.service	2015-02-27 12:54:06 UTC (rev 232073)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Deluge WebUI
-After=deluged.service
-
-[Service]
-User=deluge
-ExecStart=/usr/bin/deluge-web
-
-[Install]
-WantedBy=multi-user.target

Copied: deluge/repos/extra-any/deluge-web.service (from rev 232072, deluge/trunk/deluge-web.service)
===================================================================
--- deluge-web.service	                        (rev 0)
+++ deluge-web.service	2015-02-27 12:54:06 UTC (rev 232073)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Deluge WebUI
+After=deluged.service
+
+[Service]
+User=deluge
+ExecStart=/usr/bin/deluge-web
+
+[Install]
+WantedBy=multi-user.target

Deleted: deluge.install
===================================================================
--- deluge.install	2015-02-27 12:52:25 UTC (rev 232072)
+++ deluge.install	2015-02-27 12:54:06 UTC (rev 232073)
@@ -1,22 +0,0 @@
-post_install() {
-  getent group deluge &>/dev/null || groupadd -g 125 deluge
-  if ! getent passwd deluge &>/dev/null; then
-    useradd -c 'Deluge user' -u 125 -g deluge -d /srv/deluge -s /bin/false deluge
-    passwd -l deluge &>/dev/null
-  fi
-
-  post_upgrade
-}
-
-post_upgrade() {
-  [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor
-  [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
-  true
-}
-
-post_remove() {
-  getent passwd deluge &>/dev/null && userdel deluge
-  getent group deluge &>/dev/null && groupdel deluge
-
-  post_upgrade
-}

Copied: deluge/repos/extra-any/deluge.install (from rev 232072, deluge/trunk/deluge.install)
===================================================================
--- deluge.install	                        (rev 0)
+++ deluge.install	2015-02-27 12:54:06 UTC (rev 232073)
@@ -0,0 +1,19 @@
+post_install() {
+  if ! getent passwd deluge &>/dev/null; then
+    groupadd -g 125 deluge
+    useradd -c 'Deluge user' -u 125 -g deluge -d /srv/deluge -s /bin/false deluge
+    passwd -l deluge &>/dev/null
+  fi
+
+  post_upgrade
+}
+
+post_upgrade() {
+  [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor
+  [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
+  return 0
+}
+
+post_remove() {
+  post_upgrade
+}

Deleted: deluged.service
===================================================================
--- deluged.service	2015-02-27 12:52:25 UTC (rev 232072)
+++ deluged.service	2015-02-27 12:54:06 UTC (rev 232073)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Deluge Daemon
-After=network.target
-
-[Service]
-User=deluge
-ExecStart=/usr/bin/deluged -d
-UMask=0002
-
-[Install]
-WantedBy=multi-user.target

Copied: deluge/repos/extra-any/deluged.service (from rev 232072, deluge/trunk/deluged.service)
===================================================================
--- deluged.service	                        (rev 0)
+++ deluged.service	2015-02-27 12:54:06 UTC (rev 232073)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Deluge Daemon
+After=network.target
+
+[Service]
+User=deluge
+ExecStart=/usr/bin/deluged -d
+UMask=0002
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list