summaryrefslogtreecommitdiff
path: root/community/libtorrent/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
committerroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
commit715631caf52784c47c8ed3aeb6cbdba2715a08db (patch)
treed1923d66cba8dcf90112f81ca31009202cff25a3 /community/libtorrent/PKGBUILD
parent8999fa1750304fb2367fb7743e49e013405e88be (diff)
Sun Jun 26 23:06:14 UTC 2011
Diffstat (limited to 'community/libtorrent/PKGBUILD')
-rw-r--r--community/libtorrent/PKGBUILD31
1 files changed, 18 insertions, 13 deletions
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
+}