summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62312043667aadd63061748871153cceb8f08914 (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
# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=torrential
pkgver=2.0.1
pkgrel=2
pkgdesc='Simple BitTorrent client for Pantheon'
arch=('x86_64')
url='https://github.com/davidmhewitt/torrential'
license=('GPL')
depends=('granite' 'libevent' 'libb64' 'miniupnpc' 'libnatpmp')
makedepends=('meson' 'git' 'vala' 'libtransmission' 'dht' 'libutp')
_commit=d17fc2728056af0e4abdf4d025a7f415900eeedb
source=("git+https://github.com/davidmhewitt/torrential.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

build() {
  arch-meson $pkgname build
  meson compile -C build
}

package() {
  meson install -C build --destdir "$pkgdir"
  ln -s com.github.davidmhewitt.torrential "$pkgdir/usr/bin/$pkgname"
}