[arch-commits] Commit in libtorrent/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Mar 7 21:52:12 UTC 2017
Date: Tuesday, March 7, 2017 @ 21:52:12
Author: arojas
Revision: 215269
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libtorrent/repos/community-staging-i686/
libtorrent/repos/community-staging-i686/PKGBUILD
(from rev 215268, libtorrent/trunk/PKGBUILD)
libtorrent/repos/community-staging-x86_64/
libtorrent/repos/community-staging-x86_64/PKGBUILD
(from rev 215268, libtorrent/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Copied: libtorrent/repos/community-staging-i686/PKGBUILD (from rev 215268, libtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-07 21:52:12 UTC (rev 215269)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: sh__
+
+pkgname=libtorrent
+pkgver=0.13.6
+pkgrel=3
+pkgdesc='BitTorrent library with a focus on high performance and good code'
+url='http://rakshasa.github.io/rtorrent/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('openssl')
+#source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz"
+ libtorrent-openssl-1.1.patch::"https://github.com/rakshasa/libtorrent/commit/4607bbf7.patch")
+sha256sums=('bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524'
+ '82f639c1e7cf3299c2a44a705e69286abd33a75c70d2da0594d41d5a08cd8c1a')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+ # fix build against openssl 1.1
+ patch -p1 -i ../libtorrent-openssl-1.1.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh
+
+ export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+ ./configure \
+ --prefix=/usr \
+ --disable-debug \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libtorrent/repos/community-staging-x86_64/PKGBUILD (from rev 215268, libtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-03-07 21:52:12 UTC (rev 215269)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: sh__
+
+pkgname=libtorrent
+pkgver=0.13.6
+pkgrel=3
+pkgdesc='BitTorrent library with a focus on high performance and good code'
+url='http://rakshasa.github.io/rtorrent/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('openssl')
+#source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz"
+ libtorrent-openssl-1.1.patch::"https://github.com/rakshasa/libtorrent/commit/4607bbf7.patch")
+sha256sums=('bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524'
+ '82f639c1e7cf3299c2a44a705e69286abd33a75c70d2da0594d41d5a08cd8c1a')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+ # fix build against openssl 1.1
+ patch -p1 -i ../libtorrent-openssl-1.1.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh
+
+ export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+ ./configure \
+ --prefix=/usr \
+ --disable-debug \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list