upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libtorrent / trunk / PKGBUILD
blobc414606579332a499bdb5a32b1164547759446e9
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 # Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
4 # Contributor: Jeff Mickey <jeff@archlinux.org>
5 # Contributor: sh__
7 pkgname=libtorrent
8 pkgver=0.13.8
9 pkgrel=3
10 pkgdesc='BitTorrent library with a focus on high performance and good code'
11 url='https://rakshasa.github.io/rtorrent/'
12 arch=('x86_64')
13 license=('GPL')
14 depends=('openssl')
15 source=("https://github.com/rakshasa/rtorrent/releases/download/v0.9.${pkgver##*.}/${pkgname}-${pkgver}.tar.gz")
16 sha256sums=('ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983')
18 prepare() {
19         cd "${srcdir}/${pkgname}-${pkgver}"
20         ./autogen.sh
23 build() {
24         cd "${srcdir}/${pkgname}-${pkgver}"
25         export CXXFLAGS+=' -fno-strict-aliasing'
26         ./configure \
27                 --prefix=/usr \
28                 --disable-debug \
30         make
33 package() {
34         cd "${srcdir}/${pkgname}-${pkgver}"
35         make DESTDIR="${pkgdir}" install