summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c7f6bb0d8baeeba2e8ffa6e2b2e0e154aa5cb9b (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
# Maintainer: Sam Whited <sam@samwhited.com>

pkgname=writeas-gtk
pkgver=1.0.0
pkgrel=2
pkgdesc="Write.as GTK desktop app"
arch=('x86_64')
url="https://write.as/apps/desktop"
license=(GPL3)
depends=(
	'writeas-cli'
	'gtksourceview3'
	'gtk3'
)
makedepends=(
	'meson'
	'ninja'
	'vala'
)
source=(https://code.as/writeas/writeas-gtk/archive/v${pkgver}.tar.gz)
sha256sums=('c6487821b5fbeef38ee50082d42a89be97b2fdbd5c3205d8a9c961ca0c3c7fbf')

prepare() {
	mkdir -p build
}

build() {
	# Temporary workaround for https://github.com/mesonbuild/meson/issues/4247
	arch-meson "${pkgname}" build || arch-meson "${pkgname}" build --reconfigure
	ninja -C build
}

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