summaryrefslogtreecommitdiff
path: root/community/libtorrent
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libtorrent
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libtorrent')
-rw-r--r--community/libtorrent/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libtorrent/PKGBUILD b/community/libtorrent/PKGBUILD
new file mode 100644
index 000000000..01884fc7b
--- /dev/null
+++ b/community/libtorrent/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 90569 2013-05-13 09:41:28Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <jeff@archlinux.org>
+# 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')
+license=('GPL')
+depends=('openssl')
+source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('e65a20b9e6d5c04b4e0849543d58befb60d948b7')
+
+options=('!libtool')
+
+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
+}