summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afa84a17a7e0a38f99c47ce5bba99281c77f2e51 (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
34
35
36
37
38
39
40
# Maintainer: Josef Vybíhal <josef.vybihal@gmail.com>
# Contributor: TingPing tingping@tingping.se

#  shellcheck disable=SC2034
pkgname=transmission-remote-gtk-git
pkgver=1.6.0.r16.g14b8613
pkgrel=1
pkgdesc='A remote interface to the Transmission BitTorrent client'
arch=('i686' 'x86_64' 'armv6h')
url='https://github.com/transmission-remote-gtk/transmission-remote-gtk'
license=('GPL')
options=('!libtool')
depends=('gtk3' 'libsoup3' 'json-glib' 'gettext')
makedepends=('git' 'appstream-glib' 'meson' 'desktop-file-utils' 'python-docutils')
optdepends=(
  'libayatana-indicator: Application tray support'
)
provides=('transmission-remote-gtk')
conflicts=('transmission-remote-gtk')
source=('git+https://github.com/transmission-remote-gtk/transmission-remote-gtk.git')
sha512sums=('SKIP')
_gitname='transmission-remote-gtk'

pkgver() {
  cd "$_gitname"
  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  mkdir -p build
  meson setup build "$_gitname" --prefix=/usr
}

build() {
  meson compile -C build
}

package() {
  meson install -C build --destdir="$pkgdir"
}