deluge: use make_dirs= to create /var/lib/deluge

This commit is contained in:
maxice8 2019-01-16 17:52:26 -02:00 committed by maxice8
parent 06df2c166a
commit 34dbda4d57
2 changed files with 9 additions and 8 deletions

View file

@ -1,5 +1,3 @@
#!/bin/sh
set -e
mkdir -p /var/lib/deluge
chown deluge:deluge /var/lib/deluge
exec chpst -u deluge:deluge deluged -d 2>&1

View file

@ -1,22 +1,25 @@
# Template file for 'deluge'
pkgname=deluge
version=1.3.15
revision=3
revision=4
noarch=yes
build_style=python2-module
pycompile_module="deluge"
system_accounts="deluge"
deluge_homedir="/var/lib/deluge"
hostmakedepends="intltool python-setuptools"
depends="python-setuptools python-chardet python-Twisted python-xdg
libtorrent-rasterbar-python"
short_desc="Fully-featured cross-platform BitTorrent client"
maintainer="Alexey Rochev <equeim@gmail.com>"
homepage="http://deluge-torrent.org/"
license="GPL-3"
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
license="GPL-3.0-or-later"
homepage="https://deluge-torrent.org/"
distfiles="https://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
checksum=2bd239fc7ec0427302677abb86f927299aed4f043eca5d8a1bab2986b3659666
system_accounts="deluge"
deluge_homedir="/var/lib/deluge"
make_dirs="/var/lib/deluge 0755 deluge deluge"
post_install() {
vsv deluged
}