# $Id: PKGBUILD 99885 2013-10-31 02:16:43Z allan $ # Maintainer: Gaetan Bisson # Contributor: Daenyth # Contributor: Jeff Mickey # Contributor: sh__ pkgname=libtorrent pkgver=0.13.3 pkgrel=2 pkgdesc='BitTorrent library with a focus on high performance and good code' url='http://libtorrent.rakshasa.no/' arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('openssl') source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz") sha1sums=('e65a20b9e6d5c04b4e0849543d58befb60d948b7') build() { cd "${srcdir}/${pkgname}-${pkgver}" export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" ./configure \ --prefix=/usr \ --disable-debug \ make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }