blob: de466dea5634404765a8e951fa6091b23f652d55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: sh__
pkgname=libtorrent
pkgver=0.12.9
pkgrel=1
pkgdesc='BitTorrent library written in C++'
url='http://libtorrent.rakshasa.no/'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('libsigc++2.0' 'openssl')
options=('!libtool')
source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
sha1sums=('176a836c6e685e4dad71ac08c0e09caaa5b7757c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
./configure \
--prefix=/usr \
--disable-debug \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|