From af433c71f464a66e45ff464986a2e7a8a0e02fef Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 1 May 2015 12:45:54 -0500 Subject: libtorrent-extended-0.12.6-7.1: rebuild --- pcr/libtorrent-extended/PKGBUILD | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'pcr/libtorrent-extended') 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 -# Contributor: Lucky -# Contributor: Daenyth -# Contributor: Jeff Mickey -# Contributor: sh__ +# Contributor (Arch): Lucky +# Contributor (Arch): Daenyth +# Contributor (Arch): Jeff Mickey +# Contributor (Arch): sh__ +# Maintainer : Omar Vega Ramos 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: -- cgit v1.2.3