summaryrefslogtreecommitdiff
path: root/pcr/libtorrent-extended/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libtorrent-extended/PKGBUILD')
-rw-r--r--pcr/libtorrent-extended/PKGBUILD31
1 files changed, 23 insertions, 8 deletions
diff --git a/pcr/libtorrent-extended/PKGBUILD b/pcr/libtorrent-extended/PKGBUILD
index 8f6c49008..efd99031c 100644
--- a/pcr/libtorrent-extended/PKGBUILD
+++ b/pcr/libtorrent-extended/PKGBUILD
@@ -1,14 +1,14 @@
-# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
-# Contributor: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
-# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: Jeff Mickey <jeff@archlinux.org>
-# Contributor: sh__
+# Contributor (Arch): Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
+# Contributor (Arch): Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor (Arch): Jeff Mickey <jeff@archlinux.org>
+# Contributor (Arch): sh__
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=libtorrent-extended
_pkgname="libtorrent"
#_pkgname="${pkgname%-*}" # currently not work with bauerbill
pkgver=0.12.6
-pkgrel=7
+pkgrel=7.1
pkgdesc="BitTorrent library written in C++ with eXtended patches."
arch=("i686" "x86_64")
url="http://libtorrent.rakshasa.no"
@@ -31,8 +31,15 @@ source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz"
"ex_bad_peer_handling.patch"
"ui_show_idle_times.patch"
"fix_gcc_4.6.0.patch")
+md5sums=('037499ed708aaf72988cee60e5a8d96b'
+ 'e14c2ca84bb38895702793fff316e2ea'
+ '930c4422882823b3e9ed43998b61a187'
+ 'ae3a8d3d75dbaafc166e1c052b42a92d'
+ '3db101335191d0dec33284953b44dc3d'
+ 'a004776b18bff7968c56eadc7f3de7d2'
+ '5fb33c09086bfd6b731e04beaba6d615')
-build() {
+prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
#eXtended patches {{{
@@ -63,9 +70,17 @@ build() {
patch -uNp1 -i "${srcdir}/fix_gcc_4.6.0.patch"
./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" \
./configure --prefix=/usr --disable-debug "${_cfg_opts}"
make
- make DESTDIR="${pkgdir}" install
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: