Adding qbittorrent & deps

This commit is contained in:
Anke 2011-01-25 01:35:33 +00:00
parent 53c6ff794d
commit fdc90b8031
3 changed files with 77 additions and 0 deletions

30
libtorrent-rasterbar/PKGBUILD Executable file
View File

@ -0,0 +1,30 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor:Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libtorrent-rasterbar
pkgver=0.15.5
pkgrel=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
arch=('i686' 'x86_64')
license=('custom')
depends=('boost>=1.44.0' 'python')
makedepends=('boost')
source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('f1504a619e876c2731ee9a6b7d19cb1d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-python-binding \
--with-boost-filesystem=mt \
--with-boost-thread=mt
make
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}

36
qbittorrent/PKGBUILD Executable file
View File

@ -0,0 +1,36 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor:Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qbittorrent
pkgver=2.6.3
pkgrel=1
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>=0.15.5' 'xdg-utils')
makedepends=('boost' 'geoip')
optdepends=('python: needed for search'
'geoip: improves peer country resolution')
install=qbittorrent.install
source=(http://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.gz)
md5sums=('bacee550941807c2e394d6bd38c2b7f1')
build()
{
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package()
{
cd ${srcdir}/${pkgname}-${pkgver}
make INSTALL_ROOT=${pkgdir} install
}

11
qbittorrent/qbittorrent.install Executable file
View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}