deluge: use make_dirs= to create /var/lib/deluge
This commit is contained in:
parent
06df2c166a
commit
34dbda4d57
2 changed files with 9 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
mkdir -p /var/lib/deluge
|
|
||||||
chown deluge:deluge /var/lib/deluge
|
|
||||||
exec chpst -u deluge:deluge deluged -d 2>&1
|
exec chpst -u deluge:deluge deluged -d 2>&1
|
||||||
|
|
|
@ -1,22 +1,25 @@
|
||||||
# Template file for 'deluge'
|
# Template file for 'deluge'
|
||||||
pkgname=deluge
|
pkgname=deluge
|
||||||
version=1.3.15
|
version=1.3.15
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python2-module
|
build_style=python2-module
|
||||||
pycompile_module="deluge"
|
pycompile_module="deluge"
|
||||||
system_accounts="deluge"
|
|
||||||
deluge_homedir="/var/lib/deluge"
|
|
||||||
hostmakedepends="intltool python-setuptools"
|
hostmakedepends="intltool python-setuptools"
|
||||||
depends="python-setuptools python-chardet python-Twisted python-xdg
|
depends="python-setuptools python-chardet python-Twisted python-xdg
|
||||||
libtorrent-rasterbar-python"
|
libtorrent-rasterbar-python"
|
||||||
short_desc="Fully-featured cross-platform BitTorrent client"
|
short_desc="Fully-featured cross-platform BitTorrent client"
|
||||||
maintainer="Alexey Rochev <equeim@gmail.com>"
|
maintainer="Alexey Rochev <equeim@gmail.com>"
|
||||||
homepage="http://deluge-torrent.org/"
|
license="GPL-3.0-or-later"
|
||||||
license="GPL-3"
|
homepage="https://deluge-torrent.org/"
|
||||||
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
|
distfiles="https://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2bd239fc7ec0427302677abb86f927299aed4f043eca5d8a1bab2986b3659666
|
checksum=2bd239fc7ec0427302677abb86f927299aed4f043eca5d8a1bab2986b3659666
|
||||||
|
|
||||||
|
system_accounts="deluge"
|
||||||
|
deluge_homedir="/var/lib/deluge"
|
||||||
|
|
||||||
|
make_dirs="/var/lib/deluge 0755 deluge deluge"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv deluged
|
vsv deluged
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue