aboutsummaryrefslogblamecommitdiffstats
path: root/community/gnome-calculator/APKBUILD
blob: 970b7f91ea810833697c09eb971f36cb116153db (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.38.2
pkgrel=0
pkgdesc="Calculator for solving mathematical equations"
url="https://wiki.gnome.org/Apps/Calculator"
arch="all !s390x !mips !mips64" # 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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="41e58b34640e795108a552aa0d95b03f0c84c4d5af6eef7fe8350c5f4e031a0fad7cad73034b38b2121f09687815b6b10a6a86fb00c7cbf720ccb06a8eea0403  gnome-calculator-3.38.2.tar.xz"