aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnote/APKBUILD
blob: 7a6c5d7a55cc5f99444fdf2c8dc5b30f9a8b2685 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnote
pkgver=3.34.1
pkgrel=1
pkgdesc="https://wiki.gnome.org/Apps/Gnote"
url="Gnote is a port of Tomboy to C++"
arch="all"
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="6e9a76346e4da968fd627e85d27d45bb29b01a8a2f72a901a53add87d46c4aacdcf94c689954fce8d0ea5c6aa8b3208999a68b9a35e09fae00aca5917841c5fb  gnote-3.34.1.tar.xz"