desktop/libtorrent-rasterbar/PKGBUILD
2013-10-03 20:54:12 +00:00

26 lines
761 B
Bash
Executable File

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libtorrent-rasterbar
pkgver=0.16.9
pkgrel=2
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://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('4335c8b275f041d6d34a493b21f2d7234ffca34b')
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"
}