Date: Tuesday, November 1, 2022 @ 22:46:39
Author: felixonmars
Revision: 1340520
archrelease: copy trunk to community-staging-x86_64
Added:
libtorrent/repos/community-staging-x86_64/
libtorrent/repos/community-staging-x86_64/PKGBUILD
(from rev 1340519, libtorrent/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: libtorrent/repos/community-staging-x86_64/PKGBUILD (from rev 1340519,
libtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-01 22:46:39 UTC (rev 1340520)
@@ -0,0 +1,36 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <[email protected]>
+# Contributor: sh__
+
+pkgname=libtorrent
+pkgver=0.13.8
+pkgrel=3
+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
+}