summaryrefslogtreecommitdiff
path: root/community/libtorrent/PKGBUILD
diff options
context:
space:
mode:
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
+}