summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32361248e2a214e7049bfc2841ba59e2d86cc539 (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
# Maintainer: madmurphy <madmurphy333 AT gmail DOT com>
# Contributor: Princeton Ferro <princetonferro AT gmail DOT com>
# Contributor: PedroHLC <root AT pedrohlc DOT com>

pkgname='notejot'
pkgver='3.5.1'
pkgrel=1
pkgdesc='A stupidly-simple sticky notes application for any type of short term notes or ideas'
arch=('i686' 'x86_64')
url='https://github.com/lainsce/notejot'
license=('GPL')
depends=('gtk4' 'gtksourceview3' 'json-glib' 'libgee' 'libadwaita')
makedepends=('meson' 'vala')
conflicts=('notejot-git')
source=("https://github.com/lainsce/${pkgname}/archive/${pkgver}.tar.gz"
        'simplify-bool.patch')
sha256sums=('09fc420322646976594aba1c4d02a01e47d241f196d1c2a519553ad034784213'
            '70c97e07951810146bf20ce1f5e2570012aa244df0491e11278edb9f6199c236')

prepare() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	# https://github.com/lainsce/notejot/issues/395
	patch -Np1 -i ../simplify-bool.patch
}

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	meson build
	cd build
	meson configure -Dprefix=/usr
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}/build"
	DESTDIR="${pkgdir}" ninja install
}