From fdc90b8031967e89ae64f79d193709cca76a89da Mon Sep 17 00:00:00 2001 From: Anke Date: Tue, 25 Jan 2011 01:35:33 +0000 Subject: [PATCH] Adding qbittorrent & deps --- libtorrent-rasterbar/PKGBUILD | 30 +++++++++++++++++++++++++++ qbittorrent/PKGBUILD | 36 +++++++++++++++++++++++++++++++++ qbittorrent/qbittorrent.install | 11 ++++++++++ 3 files changed, 77 insertions(+) create mode 100755 libtorrent-rasterbar/PKGBUILD create mode 100755 qbittorrent/PKGBUILD create mode 100755 qbittorrent/qbittorrent.install diff --git a/libtorrent-rasterbar/PKGBUILD b/libtorrent-rasterbar/PKGBUILD new file mode 100755 index 000000000..824564ca1 --- /dev/null +++ b/libtorrent-rasterbar/PKGBUILD @@ -0,0 +1,30 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa +# Contributor:Renan Biegelmeyer (RenanBS) =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" +} diff --git a/qbittorrent/PKGBUILD b/qbittorrent/PKGBUILD new file mode 100755 index 000000000..40cdc51f9 --- /dev/null +++ b/qbittorrent/PKGBUILD @@ -0,0 +1,36 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa +# Contributor:Renan Biegelmeyer (RenanBS) =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 +} diff --git a/qbittorrent/qbittorrent.install b/qbittorrent/qbittorrent.install new file mode 100755 index 000000000..e70c054ec --- /dev/null +++ b/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 +}