summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff0373da93413a8630d2347630324e4a622477e5 (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: Philip Goto <philip.goto@gmail.com>

pkgname=tau-editor
pkgver=0.11.3
pkgrel=1
pkgdesc="GTK frontend for the Xi text editor, written in Rust"
arch=(i686 x86_64 armv6h armv7h)
url="https://gitlab.gnome.org/World/tau"
license=('MIT')
depends=('xi-core'
         'libhandy'
         'vte3')
makedepends=('git'
             'meson'
             'rust')
provides=("tau-editor")
conflicts=("tau-editor")
source=("https://gitlab.gnome.org/World/Tau/uploads/b5f24cd692ec0c2a2c2be460fffaf505/tau-0.11.3.tar.xz")
sha256sums=('36e915de4ca906599b4ad176d4e2d625b454801a09ca0d4b0a1fbaf14915e60e')


build() {
    arch-meson -Dxi-core=system -Dlibhandy=enabled "tau-${pkgver}" build
    ninja -C build
}

# check() {
#     ninja -C build test
# }

package() {
    DESTDIR="$pkgdir/" ninja -C build install
    install -Dm 644 "tau-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}