desktop/libtorrent-rasterbar/PKGBUILD
2014-03-02 01:25:07 +00:00

26 lines
773 B
Bash
Executable File

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libtorrent-rasterbar
pkgver=0.16.15
pkgrel=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
arch=('x86_64')
license=('custom')
depends=('boost-libs' 'python2')
makedepends=('boost')
source=(http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz)
sha1sums=('8657a493fb2ee4e6bf55e484deb922d23b65818d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-python-binding
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}