[arch-commits] Commit in libtorrent-rasterbar/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 15:20:58 UTC 2018


    Date: Wednesday, August 1, 2018 @ 15:20:58
  Author: felixonmars
Revision: 330416

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
    (from rev 330415, libtorrent-rasterbar/trunk/PKGBUILD)
Deleted:
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 15:20:32 UTC (rev 330415)
+++ PKGBUILD	2018-08-01 15:20:58 UTC (rev 330416)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-
-pkgname=libtorrent-rasterbar
-pkgver=1.1.8
-pkgrel=3
-epoch=1
-pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
-url="http://www.rasterbar.com/products/libtorrent/"
-arch=('x86_64')
-license=('BSD')
-depends=('boost-libs')
-makedepends=('boost' 'python2' 'python')
-options=('!emptydirs')
-_pkgver=${pkgver//./_}
-source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
-sha512sums=('0db79b60093fc771d3fb0a2df7d420ae874da0e5c0968e4cc28052c999ed259f339d4e8b271923a0dc71ec1433d50ad5b680d873ea3dbfa17e663e265c02975b')
-
-prepare() {
-  mkdir py2 py3
-  cd libtorrent-libtorrent-${_pkgver}
-
-  # Avoid depending on newer processors
-  sed -i 's/-msse4.2//' configure.ac
-
-  ./autotool.sh
-}
-
-_build() (
-  cd py$1
-
-  # FS#50745
-  _boost="boost_python"
-  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
-
-  # https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436
-  CXXFLAGS="$CXXFLAGS -std=c++11" \
-  PYTHON=/usr/bin/python$1 \
-  ../libtorrent-libtorrent-${_pkgver}/configure \
-    --prefix=/usr \
-    --enable-python-binding \
-    --enable-examples \
-    --disable-static \
-    --with-libiconv \
-    --with-boost-python=$_boost
-)
-
-build() {
-  _build 2
-  _build 3
-}
-
-package() {
-  make -C py2 DESTDIR="$pkgdir" install
-  make -C py3 DESTDIR="$pkgdir" install
-  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Remove most example binaries
-  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
-}

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 330415, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-01 15:20:58 UTC (rev 330416)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.9
+pkgrel=1
+epoch=1
+pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
+url="http://www.rasterbar.com/products/libtorrent/"
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('8c313c757603a4b2035c69fbe745c1e3483359b7b21601f9353338acc00e15953b4414ea4adf93647e1f2f9e1da72df165cede9dbdcaf57c12833529a43b3fc7')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  # https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436
+  CXXFLAGS="$CXXFLAGS -std=c++11" \
+  PYTHON=/usr/bin/python$1 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+    --prefix=/usr \
+    --enable-python-binding \
+    --enable-examples \
+    --disable-static \
+    --with-libiconv \
+    --with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}



More information about the arch-commits mailing list