summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ce5302e216aa36336e731b4c770734396b3bb6e (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=textpieces
pkgver=1.3.1
pkgrel=1
pkgdesc='Small tool for quick text transformations such as hashes, encoding, decoding and so on'
arch=(x86_64 aarch64)
url='https://github.com/liferooter/textpieces'
license=(GPL3)
depends=(
	gtksourceview4
	libhandy
	python
)
makedepends=(
	gobject-introspection
	meson
	vala
)
source=("${pkgname}-${pkgver}::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('9cc46cc4bf42bd0bdea11588c9a345c5473862891d6925e0d7becc233f0d0712')

build() {
	arch-meson textpieces-${pkgver} build -Dtests=false
	meson compile -C build
}

# check() {
# 	meson test -C build --print-errorlogs
# }

package() {
	DESTDIR="${pkgdir}" meson install -C build
}