blob: d544fd79636df4f38f526bb22dc6b0ea7c13ee36 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tau
pkgver=0.12.0
# Gitlab puts the sha of the download in the URL...
_sha=14037a7f98f475d2497b74bd74a0430e
pkgrel=0
pkgdesc="GTK frontend for the Xi text editor, written in Rust"
url="https://gitlab.gnome.org/World/Tau"
# ppc64le and armv7 SIGSEVs Rust
# s390x fails to build
# x86 fails to build
# riscv64: rust broken
arch="all !ppc64le !x86 !armv7 !s390x !riscv64"
license="MIT"
makedepends="
cargo
gtk+3.0-dev
libhandy-dev
meson
vte3-dev
"
checkdepends="
appstream-glib
desktop-file-utils
"
options="!check" # Rust doesn't like to compile these on musl
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/Tau/uploads/$_sha/tau-$pkgver.tar.xz
meson-0.60.patch
"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
65055107f7b0cbed8585300bae3f5afd16f21c4df655f5e4b12538ddfc4e4db48ca4627da15f19e3a895c609c18f15eedd5a67237fa1aeed683952fa4739fdaa tau-0.12.0.tar.xz
24e3e03381626539789160a372c85d70abfe60c932bbad308e15cb18f8f9f0d2169e07399df12c306b277ec192d0bd832474ae209dcfaa1b14c0c6aff1d07e37 meson-0.60.patch
"
|