[arch-commits] Commit in deluge/trunk (PKGBUILD deluge.install)
Jan Steffens
heftig at archlinux.org
Sat Dec 16 02:38:15 UTC 2017
Date: Saturday, December 16, 2017 @ 02:38:14
Author: heftig
Revision: 312955
1.3.15+14+gb8e5ebe82-1
Modified:
deluge/trunk/PKGBUILD
Deleted:
deluge/trunk/deluge.install
----------------+
PKGBUILD | 11 ++++++-----
deluge.install | 7 -------
2 files changed, 6 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-16 02:30:53 UTC (rev 312954)
+++ PKGBUILD 2017-12-16 02:38:14 UTC (rev 312955)
@@ -4,7 +4,7 @@
# Contributor: Hugo Doria <hugo at archlinux.org>
pkgname=deluge
-pkgver=1.3.15+2+g38d7b7cdf
+pkgver=1.3.15+14+gb8e5ebe82
pkgrel=1
pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
arch=(any)
@@ -17,8 +17,7 @@
'pygtk: needed for gtk ui'
'librsvg: needed for gtk ui'
'python2-mako: needed for web ui')
-install=deluge.install
-_commit=38d7b7cdfde3c50d6263602ffb03af92fcbfa52e # 1.3-stable
+_commit=b8e5ebe8220c8365e186127e381a2d2dbaf9e460 # 1.3-stable
source=("git://git.deluge-torrent.org/deluge.git#commit=$_commit"
untag-build.patch
deluged.service deluge-web.service)
@@ -52,6 +51,8 @@
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"
+ echo 'u deluge - "Deluge BitTorrent daemon" /srv/deluge' |
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ echo 'd /srv/deluge 0775 deluge deluge' |
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
Deleted: deluge.install
===================================================================
--- deluge.install 2017-12-16 02:30:53 UTC (rev 312954)
+++ deluge.install 2017-12-16 02:38:14 UTC (rev 312955)
@@ -1,7 +0,0 @@
-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
-}
More information about the arch-commits
mailing list