summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56d9b7167f56e0c643e9e5d652b2c2630b04bc00 (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=mini-text
pkgver=1.0.0
_commit=3634e6c705a052c509834e0de3450c3ff9792be2
pkgrel=1
pkgdesc='A very small and basic text editor'
url="https://github.com/Nokse22/mini-text"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('libadwaita' 'python-gobject')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

build() {
  arch-meson $pkgname build
  meson compile -C build
}

check() {
  meson test -C build --no-rebuild --print-errorlogs || :
}

package() {
  meson install -C build --no-rebuild --destdir "$pkgdir"
  chmod +x "$pkgdir/usr/bin/$pkgname"
}