summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05a0685000e2ce88763a6e60533d767e2b7cf624 (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
# Maintainer: Roberto Michán Sánchez (Roboron) <robertoms258 at gmail dot com>
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Jean Lucas <jean@4ray.co>

pkgname=tootle-git
pkgver=1.0.r15.gdc15fd4
pkgrel=1
pkgdesc='GTK+ 3 client for Mastodon (git)'
arch=('i686' 'x86_64' 'aarch64')
url=https://github.com/bleakgrey/tootle
license=(GPL3)
depends=(granite libhandy)
makedepends=(git meson ninja vala gobject-introspection libadwaita)
provides=(tootle)
conflicts=(tootle)
source=(git+$url)
sha512sums=('SKIP')

pkgver() {
  cd tootle
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' 
  #| cut -c2-48
}

build() {
  cd tootle
  arch-meson build
  ninja -C build
}

package() {
  cd tootle
  DESTDIR="$pkgdir" ninja -C build install
}