From 715631caf52784c47c8ed3aeb6cbdba2715a08db Mon Sep 17 00:00:00 2001 From: root Date: Sun, 26 Jun 2011 23:06:14 +0000 Subject: Sun Jun 26 23:06:14 UTC 2011 --- community/libtorrent/PKGBUILD | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'community/libtorrent/PKGBUILD') diff --git a/community/libtorrent/PKGBUILD b/community/libtorrent/PKGBUILD index a3c670b43..a15316f09 100644 --- a/community/libtorrent/PKGBUILD +++ b/community/libtorrent/PKGBUILD @@ -3,24 +3,29 @@ # Contributor: sh__ pkgname=libtorrent -pkgver=0.12.6 -pkgrel=2 -pkgdesc="BitTorrent library written in C++" -arch=('i686' 'x86_64') -url="http://libtorrent.rakshasa.no" +pkgver=0.12.9 +pkgrel=1 +pkgdesc='BitTorrent library written in C++' +url='http://libtorrent.rakshasa.no/' license=('GPL') +arch=('i686' 'x86_64') depends=('libsigc++2.0' 'openssl') options=('!libtool') -source=(http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz) -md5sums=('037499ed708aaf72988cee60e5a8d96b') +source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz") +sha1sums=('176a836c6e685e4dad71ac08c0e09caaa5b7757c') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \ - ./configure --prefix=/usr --disable-debug || return 1 - make || return 1 - make DESTDIR="$pkgdir" install + export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + ./configure \ + --prefix=/usr \ + --disable-debug \ + + make } -# vim:set ts=2 sw=2 et: +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf