blob: 68cb7d130afab4e8295a186ebf38cd8b8b611058 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Max Harmathy <max.harmathy@web.de>
# Contributor: Wesley Moore <wes@wezm.net>
pkgname=tootle
pkgver=1.0
_pkgver=${pkgver//_/-}
pkgrel=4
pkgdesc="GTK3 client for Mastodon"
arch=('x86_64' 'aarch64')
url="https://github.com/bleakgrey/tootle"
license=('GPL3')
depends=(
'glib2'
'granite'
'gtk3'
'hicolor-icon-theme'
'json-glib'
'libhandy'
'libsoup'
)
optdepends=(
'noto-fonts-emoji: color emoji'
)
makedepends=(
'cmake'
'desktop-file-utils'
'gnome-common'
'gobject-introspection'
'hicolor-icon-theme'
'intltool'
'meson'
'ninja'
'vala'
'yelp-tools'
)
options=('!libtool')
source=(
"https://github.com/bleakgrey/$pkgname/archive/${_pkgver}.tar.gz"
"Use-reason_phrase-instead-of-get_phrase.patch"
)
sha256sums=('e0a0a062b1b72010242f7bb4db97cd71190f23067188b5c07372264d768a0496'
'06314649f967661defaf5d847a9ecdf4b942299a08613c4f3087afa6ecf5d7fc')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
patch -p1 < "$startdir/Use-reason_phrase-instead-of-get_phrase.patch"
arch-meson build
ninja -C build
}
package() {
cd "${srcdir}/${pkgname}-${_pkgver}"
DESTDIR="$pkgdir" ninja -C build install
ln -s "/usr/bin/com.github.bleakgrey.tootle" "${pkgdir}/usr/bin/tootle"
}
|