Created
October 21, 2015 00:06
-
-
Save a-andreyev/39a45e5d413695689ea1 to your computer and use it in GitHub Desktop.
archlinux libtorrent-rasterbar PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer : Ionut Biru <[email protected]> | |
# Contributor: Hugo Doria <[email protected]> | |
# Contributor: Andrea Scarpino <[email protected]> | |
# Contributor: Alexey Andreyev: aa13q.ru | |
pkgname=libtorrent-rasterbar | |
pkgver=1.0.6 | |
pkgpath=libtorrent-1_0_6 | |
pkgrel=1 | |
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" | |
url="http://www.libtorrent.org/" | |
arch=('i686' 'x86_64') | |
license=('custom') | |
depends=('boost-libs>=1.43.0') | |
makedepends=('boost') | |
source=(https://github.com/arvidn/libtorrent/releases/download/${pkgpath}/libtorrent-rasterbar-${pkgver}.tar.gz) | |
md5sums=(SKIP) | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
./configure --prefix=/usr \ | |
--with-boost-filesystem=mt \ | |
--with-boost-thread=mt | |
make | |
make DESTDIR="${pkgdir}" install | |
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment