diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 60 |
1 files changed, 27 insertions, 33 deletions
@@ -8,49 +8,41 @@ pkgname=deluge-stable-git _gitname="deluge" _gitbranch="1.3-stable" pkgver=1.3.15.r19.gd62987089 -pkgrel=3 +pkgrel=4 pkgdesc="A bittorrent client written with python and pygtk - Git Stable branch Version" arch=('any') url="http://deluge-torrent.org/" license=('GPL3') -depends=('python2-xdg' - 'python2-twisted' - 'python2-pyopenssl' - 'xdg-utils' - 'python2-chardet' - 'python2-gobject' - 'python2-service_identity' +depends=('python2' 'desktop-file-utils' - 'hicolor-icon-theme' - 'python2-distribute') + 'hicolor-icon-theme') makedepends=('intltool' - 'pygtk' - 'librsvg' - 'python2-mako' - 'git' - 'python2-distribute' - 'libtorrent-rasterbar') -optdepends=('libtorrent-rasterbar: deluge daemon, including local daemon' - 'python2-notify: libnotify notifications' - 'pygtk: needed for gtk ui' - 'librsvg: needed for gtk ui' - 'python2-mako: needed for web ui' - 'python2-pygame: audible notifications' - 'python2-libappindicator: appindicator notifications') + 'libtorrent-rasterbar' + 'python2-chardet' + 'python2-pyopenssl' + 'python2-twisted' + 'python2-xdg') +optdepends=('python2-service-identity' + 'libtorrent-rasterbar: required for daemon' + 'pygtk: required for GTK client' + 'xdg-utils: required for GTK client' + 'python2-chardet: required for GTK client' + 'python2-xdg: required for GTK client' + 'python2-notify: optional for GTK client' + 'python2-pygame: optional for GTK client' + 'python2-libappindicator: optional for GTK client' + 'python2-mako: required for web client') provides=('deluge') conflicts=('deluge' 'deluge-svn' 'deluge-stable' 'deluge-git') replaces=('deluge-svn' 'deluge-stable') source=("git://github.com/deluge-torrent/deluge#branch=$_gitbranch" - deluge.tmpfiles.conf deluged.service deluge-web.service - deluged.conf) -install=deluge-stable.install + deluged.environment) md5sums=('SKIP' - 'c50385d32a2db0ef3f46b8caadb0e988' - '959d16333e3745831d3026a3465575d0' - '2c0c3b59065c1ac7af68e31f8b392b40' - '75e591b738cf9f858af2de8665a3b3e7') + 'a20aa31829ba59f6153545be353a0a07' + 'c4371974414e6b9003f62a53954eefea' + '71d556cf7ce3bb59391797827347e80c') pkgver() { cd "${srcdir}/${_gitname}" @@ -65,14 +57,16 @@ build() { package() { cd "${srcdir}/$_gitname" python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Quick fix to keep namcap from thinking we need Python 3 + sed -i -e '1s@python@python2@' "${pkgdir}/usr/lib/python2.7/site-packages/deluge/ui/Win32IconImagePlugin.py" cd "${srcdir}" - install -Dm644 deluge.tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/deluge.conf" + 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 -Dm644 deluged.conf "$pkgdir/etc/conf.d/deluged" + install -Dm644 deluged.environment "$pkgdir/etc/conf.d/deluged" 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' | + echo 'd /srv/deluge 0770 deluge deluge' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } |