desktop/libtorrent-rasterbar/PKGBUILD
2013-01-19 17:06:26 +00:00

30 lines
894 B
Bash
Executable File

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor:Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com
pkgname=libtorrent-rasterbar
pkgver=0.16.7
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://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('94b132a17d8f6a5345937731343398be8d31f170')
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"
}