# Maintainer: Artem Klevtsov _pkgname=vlc-bittorrent pkgname=vlc-bittorrent-git pkgver=v2.14.r0.g6073355 pkgrel=1 pkgdesc="A bittorrent plugin for VLC." arch=(x86_64) url="https://github.com/johang/vlc-bittorrent" license=('GPL3') depends=('vlc' 'libtorrent-rasterbar') makedepends=('boost' 'autoconf-archive') conflicts=('vlc-bittorrent') replaces=('vlc-bittorrent') source=('git+https://github.com/johang/vlc-bittorrent.git') sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "${srcdir}/${_pkgname}" autoreconf -i ./configure --prefix=/usr \ --libdir=/usr/lib/vlc/plugins/bittorrent make } package() { cd "${srcdir}/${_pkgname}" make DESTDIR="${pkgdir}" install }