diff options
author | Juri Vitali | 2018-12-31 14:09:39 +0100 |
---|---|---|
committer | Juri Vitali | 2018-12-31 14:09:39 +0100 |
commit | da0c6dcaace9c0a60c3ec36190e27c0c65f214b1 (patch) | |
tree | 7207b86d8ceeeef30a2360c6d2288e335a41d453 | |
download | aur-da0c6dcaace9c0a60c3ec36190e27c0c65f214b1.tar.gz |
First release, version 2.5
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..825dc662b81f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = vlc-bittorrent + pkgdesc = A bittorrent plugin for VLC. + pkgver = 2.5 + pkgrel = 1 + url = https://github.com/johang/vlc-bittorrent + arch = x86_64 + license = GPL + depends = vlc + depends = libtorrent-rasterbar + source = https://github.com/johang/vlc-bittorrent/archive/v2.5.tar.gz + sha256sums = 805746b63c4f6d331c660684847f8fa08a3a5baca79f189c4a7cc088a00beaed + +pkgname = vlc-bittorrent + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..91e7809fee25 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Juri Vitali <juri@dividebyzero.it> +pkgname=vlc-bittorrent +pkgver=2.5 +pkgrel=1 +pkgdesc="A bittorrent plugin for VLC." +arch=(x86_64) +url="https://github.com/johang/vlc-bittorrent" +license=('GPL') +depends=(vlc libtorrent-rasterbar) +source=("https://github.com/johang/$pkgname/archive/v$pkgver.tar.gz") +sha256sums=('805746b63c4f6d331c660684847f8fa08a3a5baca79f189c4a7cc088a00beaed') + +build() { + cd "$pkgname-$pkgver" + autoreconf -i + ./configure --prefix=/usr \ + --libdir=/usr/lib/vlc/plugins/bittorrent + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |