diff options
author | root <root@rshg054.dnsready.net> | 2011-10-24 23:14:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-24 23:14:47 +0000 |
commit | 0d7bab226067a44a9f1b978924e8201a3fa60764 (patch) | |
tree | 7c17a659e61f8c790e75160fcecc9a9f63df2500 /community-staging/qbittorrent | |
parent | c0bc46632845dfc241d3290d8d3193287eaeb02e (diff) |
Mon Oct 24 23:14:47 UTC 2011
Diffstat (limited to 'community-staging/qbittorrent')
-rw-r--r-- | community-staging/qbittorrent/PKGBUILD | 38 | ||||
-rw-r--r-- | community-staging/qbittorrent/qbittorrent.install | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community-staging/qbittorrent/PKGBUILD b/community-staging/qbittorrent/PKGBUILD new file mode 100644 index 000000000..555de294c --- /dev/null +++ b/community-staging/qbittorrent/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> + +pkgname=qbittorrent +pkgver=2.9.1 +pkgrel=2 +pkgdesc="A bittorrent client written in C++ / Qt4 using the good libtorrent library" +arch=('i686' 'x86_64') +url="http://www.qbittorrent.org/" +license=('GPL') +depends=('qt' 'libtorrent-rasterbar' 'xdg-utils') +makedepends=('boost' 'geoip') +optdepends=('python2: needed for search' + 'geoip: improves peer country resolution') +install='qbittorrent.install' +source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-${pkgver}.tar.gz") +md5sums=('093bb1f7779378a339c20aa3e4ea6d36') + +build() { + cd qbittorrent-${pkgver} + + sed -i \ + -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find ./ -name '*.py') + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd qbittorrent-${pkgver} + + make INSTALL_ROOT=${pkgdir} install +} diff --git a/community-staging/qbittorrent/qbittorrent.install b/community-staging/qbittorrent/qbittorrent.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/community-staging/qbittorrent/qbittorrent.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |