desktop/libtorrent-rasterbar/PKGBUILD

30 lines
894 B
Bash
Raw Normal View History

2011-01-25 09:35:33 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
2011-01-25 09:35:33 +08:00
#
2012-06-28 18:57:00 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2011-01-25 09:35:33 +08:00
# Contributor:Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com
pkgname=libtorrent-rasterbar
2013-01-20 01:06:26 +08:00
pkgver=0.16.7
2011-01-25 09:35:33 +08:00
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/"
2013-01-20 01:06:26 +08:00
arch=('x86_64')
2011-01-25 09:35:33 +08:00
license=('custom')
depends=('boost-libs' 'python2')
2011-01-25 09:35:33 +08:00
makedepends=('boost')
2013-01-20 01:06:26 +08:00
source=("http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('94b132a17d8f6a5345937731343398be8d31f170')
2011-01-25 09:35:33 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-python-binding
2011-01-25 09:35:33 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-01-25 09:35:33 +08:00
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}