blob: 9b6b9e3dd2e56e1232a78a9246bd2dac0fc82c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Juri Vitali <juri@dividebyzero.it>
pkgname=vlc-bittorrent
pkgver=2.14
pkgrel=1
pkgdesc="A bittorrent plugin for VLC."
arch=(x86_64)
url="https://github.com/johang/vlc-bittorrent"
license=('GPL')
depends=(vlc libtorrent-rasterbar)
makedepends=(boost autoconf-archive)
source=("https://github.com/johang/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('bbee28e1864aabac0b8b6c2dc195708446daf74f4fc35bdcf653b3322bfdd6f8')
build() {
cd "$pkgname-$pkgver"
autoreconf -i
# Uncomment `--with-tests` to enable tests
./configure --prefix=/usr \
--libdir=/usr/lib/vlc/plugins/bittorrent #\
# --with-tests
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|