summaryrefslogtreecommitdiff
path: root/community/libtorrent/PKGBUILD
blob: f797b95e05449cb6076dab625acd9c7076c1d87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: sh__

pkgname=libtorrent
pkgver=0.12.6
pkgrel=2
pkgdesc="BitTorrent library written in C++"
arch=('i686' 'x86_64' 'mips64el')
url="http://libtorrent.rakshasa.no"
license=('GPL')
depends=('libsigc++2.0' 'openssl')
options=('!libtool')
source=(http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz)
md5sums=('037499ed708aaf72988cee60e5a8d96b')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
    ./configure --prefix=/usr --disable-debug || return 1
  make || return 1
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: