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

pkgname=writeas-gtk
pkgver=1.0.0
pkgrel=1
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')

build() {
	cd "${srcdir}/${pkgname}"
	meson build --prefix="${pkgdir}/usr" --reconfigure
	ninja -C "build"
}

package() {
	ninja install -C "${srcdir}/${pkgname}/build"
}