blob: 6679dcdd62df65c549b54b9ae55effd671810f16 (
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
36
37
38
39
40
|
# Maintainer: Sam Whited <sam@samwhited.com>
pkgname=writeas-gtk
pkgver=1.0.2
pkgrel=1
pkgdesc='Write.as GTK desktop app'
arch=('x86_64')
url='https://write.as/apps/desktop'
license=('GPL3')
depends=(
'gtksourceview3'
)
makedepends=(
'meson'
'ninja'
'vala'
)
optdepends=(
'writeas-cli: web publishing support'
)
source=("${pkgname}-${pkgver}.tar.gz::https://code.as/writeas/writeas-gtk/archive/v${pkgver}.tar.gz")
sha256sums=('7c7f43fc322de74af4ce0cce06859ac9964dd1bc89b0f5479de1181004e4066c')
prepare() {
# The build was failing across versions of meson, so always clean build.
# Why would anyone use a build system that breaks itself when you update it
# and requires so much detailed knowledge of how it works to get anything
# done?
rm -rf "${srcdir}/build"
mkdir -p build
}
build() {
arch-meson "${pkgname}" build
ninja -C build
}
package() {
DESTDIR="${pkgdir}" ninja install -C build
}
|