Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=libtorrent-rasterbar
- pkgver=1.2.13
- pkgrel=1
- epoch=1
- pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
- url="https://www.rasterbar.com/products/libtorrent/"
- arch=('x86_64')
- license=('BSD')
- depends=('boost-libs')
- makedepends=('boost' 'python')
- options=('!emptydirs')
- source=(https://github.com/arvidn/libtorrent/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
- sha512sums=('29af34109f8bab91be03cd86a82ef592a9d1ae1a99ef4e6468985ac8968c67f80996bc0ac3fe2478ee20627df52e44128ff28fe81e928f31148b8c7066d67ccb')
- prepare() {
- cd $pkgname-$pkgver
- autoreconf -if
- ./configure \
- --prefix=/usr \
- --enable-examples \
- --disable-static \
- --with-libiconv
- }
- build() {
- cd $pkgname-$pkgver
- make
- }
- package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # Remove most example binaries
- rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
- }
Add Comment
Please, Sign In to add comment