summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f03a822fd7d60bd4622907a1145329ff519493fb (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: Jean Lucas <jean@4ray.co>

pkgname=tootle-git
pkgver=0.1.5+11+g56a7016
pkgrel=1
pkgdesc='GTK+ 3 client for Mastodon'
arch=(any)
url=https://github.com/bleakgrey/tootle
license=(GPL3)
depends=(glib2 gtk3 hicolor-icon-theme libsoup granite json-glib)
makedepends=(git
             desktop-file-utils
             intltool
             yelp-tools
             gnome-common
             gobject-introspection
             meson
             ninja
             vala)
provides=(tootle)
conflicts=(tootle)
options=(!libtool)
source=(git+$url)
sha512sums=(SKIP)

pkgver() {
  cd tootle
  git describe --tags | sed 's/v//;s/-/+/g'
}

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

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