aboutsummaryrefslogblamecommitdiffstats
path: root/community/gnome-calculator/APKBUILD
blob: 58d0a4a50fcba67a5787850441159fa3df428994 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                

                                              
             


                                                       
                                                            

                                                                     

                                                               




















                                                                                                         
                                                                                                                                                                             
# Contributors: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-calculator
pkgver=3.34.1
pkgrel=0
pkgdesc="Calculator for solving mathematical equations"
url="https://wiki.gnome.org/Apps/Calculator"
arch="all !s390x" # gtksourceview4 is not available on s390x
license="GPL-3.0-or-later"
makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev
	libxml2-dev meson mpc1-dev mpfr-dev itstool libgee-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
source="https://download.gnome.org/sources/gnome-calculator/${pkgver%.*}/gnome-calculator-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libdir=/usr/lib \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="43900cebc6b479292a45619f1e4f6afc5264e2dceda5d0049b59f27ebe2a32b5f4b2465a22f33b33b882ab0e737f7048fbe9395b18f9b5d2023da2941b6783f6  gnome-calculator-3.34.1.tar.xz"