initial import
This commit is contained in:
32
libtorrent/PKGBUILD
Normal file
32
libtorrent/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libtorrent
|
||||
pkgver=0.13.8
|
||||
pkgrel=1
|
||||
pkgdesc="BitTorrent library with a focus on high performance and good code"
|
||||
url='https://rakshasa.github.io/rtorrent/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL-2')
|
||||
depends=('libressl')
|
||||
source=("https://github.com/rakshasa/rtorrent/releases/download/v0.9.${pkgver##*.}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('417177df5b27cd8c6a6317063b0846da2690de4633836466728605c2edad2de407d29d321cc481b8d1352dd0ff6dd89f4566a830424a8cf986f2fddb04704da4')
|
||||
|
||||
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
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user