aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qalculate-gtk/APKBUILD
blob: a4bb4db6725252cf5dfdac836ac16cad12a11d17 (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
33
34
35
36
# Contributor: lonjil <alpine@lonjil.xyz>
# Maintainer: lonjil <alpine@lonjil.xyz>
pkgname=qalculate-gtk
# the pkgver must be kept in sync with: libqalculate
pkgver=3.22.0
pkgrel=0
pkgdesc="Multi-purpose desktop calculator - GTK+ version"
url="https://qalculate.github.io/"
license="GPL-2.0-or-later"
arch="all"
makedepends="
	glib-dev
	gtk+3.0-dev
	intltool
	libqalculate-dev=~${pkgver%.*}
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/Qalculate/qalculate-gtk/releases/download/v$pkgver/qalculate-gtk-$pkgver.tar.gz"
options="!check"  # no test suite

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

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

sha512sums="
029e0a5db69d04a1bfb796915ded3b4533f3036d99833035ae7e8b214f0b2086f6ecb1c08f463561642bdbbd0fd729250a9bc892bbac5ee0a72a9073d7555a04  qalculate-gtk-3.22.0.tar.gz
"