aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnote/APKBUILD
blob: 916fd08d6b234636a7e94ad069c145bc044944da (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnote
pkgver=3.36.0
pkgrel=0
pkgdesc="https://wiki.gnome.org/Apps/Gnote"
url="Gnote is a port of Tomboy to C++"
arch="all !s390x" # error: 'convert_return_gchar_ptr_to_stdstring' is not a member of 'Glib'
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="gtk+3.0-dev glibmm-dev gtkmm3-dev libsecret-dev gspell-dev
	libxslt-dev util-linux-dev intltool itstool desktop-file-utils"
options="!check" # missing dep: unittestcpp
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnote/${pkgver%.*}/gnote-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="94b8226470b3c66a8bc18f5aea53026829b663ee53e9a6588c858b4e80753b57b204fd14a4b3bd2e86dc68ea2ef1d8518d9d48ef38710a05f6a9602a1d461a28  gnote-3.36.0.tar.xz"