# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # contributor : Stephen McIntosh # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgbase=transmission pkgname=('transmission-qt') pkgdesc="Fast, easy, and free BitTorrent client (Qt GUI)" pkgver=2.22 pkgrel=1 arch=('i686' 'x86_64') url="http://www.transmissionbt.com/" license=('MIT') makedepends=('intltool' 'curl' 'pkgconfig' 'desktop-file-utils' 'qt' 'libevent') depends=('curl' 'qt' 'libevent') optdepends=('transmission-cli: daemon and web support') source=(http://mirrors.m0k.org/transmission/files/${pkgbase}-${pkgver}.tar.bz2) md5sums=('6499986bf769276310b00bda1090090d') build() { cd "${srcdir}/${pkgbase}-${pkgver}" export CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure --prefix=/usr make pushd qt qmake qtr.pro make } package() { cd "${srcdir}/${pkgbase}-${pkgver}" make -C qt INSTALL_ROOT="${pkgdir}"/usr install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/transmission-qt/COPYING" install -D -m644 qt/icons/transmission.png "${pkgdir}/usr/share/pixmaps/transmission-qt.png" install -D -m644 qt/transmission-qt.desktop "${pkgdir}/usr/share/applications/transmission-qt.desktop" }