[arch-commits] Commit in libtorrent/repos/community-x86_64 (PKGBUILD PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Thu Jun 7 07:35:44 UTC 2018
Date: Thursday, June 7, 2018 @ 07:35:43
Author: bisson
Revision: 341717
archrelease: copy trunk to community-x86_64
Added:
libtorrent/repos/community-x86_64/PKGBUILD
(from rev 341716, libtorrent/trunk/PKGBUILD)
Deleted:
libtorrent/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 07:35:22 UTC (rev 341716)
+++ PKGBUILD 2018-06-07 07:35:43 UTC (rev 341717)
@@ -1,44 +0,0 @@
-# $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-x86_64/PKGBUILD (from rev 341716, libtorrent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 07:35:43 UTC (rev 341717)
@@ -0,0 +1,40 @@
+# $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.7
+pkgrel=1
+pkgdesc='BitTorrent library with a focus on high performance and good code'
+url='http://rakshasa.github.io/rtorrent/'
+arch=('x86_64')
+license=('GPL')
+depends=('openssl')
+source=("https://github.com/rakshasa/rtorrent/releases/download/v0.9.${pkgver##*.}/${pkgname}-${pkgver}.tar.gz"
+ 'https://github.com/rakshasa/libtorrent/commit/4607bbf7.patch')
+sha256sums=('c738f60f4d7b6879cd2745fb4310bf24c9287219c1fd619706a9d5499ca7ecc1'
+ '88238b777b2d5c01d0ed3d0093554475c004db51193db88f91d41b9a4db50bb8')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../4607bbf7.patch
+ ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export 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