[arch-commits] Commit in libtorrent/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:39:33 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:39:33
  Author: felixonmars
Revision: 659346

archrelease: copy trunk to community-staging-x86_64

Added:
  libtorrent/repos/community-staging-x86_64/
  libtorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 659345, libtorrent/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: libtorrent/repos/community-staging-x86_64/PKGBUILD (from rev 659345, libtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:39:33 UTC (rev 659346)
@@ -0,0 +1,36 @@
+# 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.8
+pkgrel=2
+pkgdesc='BitTorrent library with a focus on high performance and good code'
+url='https://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")
+sha256sums=('ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./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