Commit 70c7e0b4 authored by Jerzy Kołosowski's avatar Jerzy Kołosowski

pyload delete

parent 700199f1
EBUILD pyload-0.4.9.20161220.ebuild 1810 SHA256 5853e7d6cf4344a1548aac7d0eed4b1c9d1e570358c62f3461160db2a3084eb2 SHA512 e72aa9af6cae6faace1a86e04ff75a20acf43e348f163e1bb8124f5e4b1ee79ff1fd86176313bcae8b7b177553ba019527e8f8ce98513e015d4fa24c206b0e62 WHIRLPOOL e177c2f0f9b55d097b6b69cf9c738ff21d165959992adcb08831475af8f107d352433cebd8efe42999ec74221c8f8363999023ad2ac0a5be554fb406866a7c8b
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="6"
inherit eutils user git-r3
DESCRIPTION="Download manager for many One-Click-Hoster, container formats like DLC, video sites or just plain http/ftp links."
HOMEPAGE="http://www.pyload.org/"
EGIT_REPO_URI="https://github.com/pyload/pyload.git"
EGIT_COMMIT="ea099613e81b08a693b1f601eb5b38b753bd575e"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="crypt +curl +captcha javascript qt4 ssl webinterface"
RDEPEND=">=dev-lang/python-2.5[sqlite]
crypt? ( dev-python/pycrypto )
curl? ( dev-python/pycurl )
captcha? ( app-text/tesseract
dev-python/pillow
javascript? ( dev-lang/spidermonkey ) )
javascript? ( net-misc/pyload[captcha] )
qt4? ( dev-python/PyQt4 )
ssl? ( dev-python/pyopenssl )
webinterface? ( dev-python/bottle )"
PYLOAD_DIR="/var/lib/${PN}"
pkg_setup() {
enewgroup pyload
# home directory is required .
enewuser pyload -1 -1 "${PYLOAD_DIR}" pyload
}
#src_unpack() {
# unpack ${A}
#}
src_install() {
dodir "/usr/share"
rm "${WORKDIR}/${P}/module/lib/bottle.py"
cp -R "${WORKDIR}/${P}" "${D}/usr/share" || die "Install failed"
mv "${D}/usr/share/${P}" "${D}/usr/share/${PN}" || die "Install failed"
fowners -R pyload:pyload "/usr/share/${PN}"
fperms -R go-rwx "/usr/share/${PN}"
make_wrapper pyload /usr/share/${PN}/pyLoadCore.py
make_wrapper pyloadCli /usr/share/${PN}/pyLoadCli.py
if use qt4 ; then
make_wrapper pyloadGui /usr/share/${PN}/pyLoadGui.py
doicon icons/logo.png || die "doicon failed"
make_desktop_entry pyLoadGui PyLoad
fi
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment