updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / flush / PKGBUILD
blob4d8daf5a243fae52fe4fb6d14c2832d6bd67f749
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: Arkham <arkham at archlinux dot us> 
3 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
5 pkgname=flush
6 pkgver=0.9.11
7 pkgrel=1
8 pkgdesc="GTK+ based BitTorrent client"
9 arch=('i686' 'x86_64')
10 url="http://sourceforge.net/projects/flush/"
11 license=('GPL')
12 depends=('libconfig' 'libtorrent-rasterbar' 'libglademm' 'libnotify' 'dbus-core')
13 makedepends=('boost')
14 install=${pkgname}.install
15 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
17 build() {
18     cd "${srcdir}/${pkgname}-${pkgver}"
20    # No idea what is it, but compiling works fine without. Curiosity never killed the cat, so ask previous maintaner. 
21    # export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
22     export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
23     ./configure --prefix=/usr
24     make
27 package() {
28     cd "${srcdir}/${pkgname}-${pkgver}"
29     make DESTDIR="${pkgdir}/" install
32 md5sums=('d5d3f9795ed4c4486c61c91c530de514')