aboutsummaryrefslogblamecommitdiffstats
path: root/community/mate-calc/APKBUILD
blob: 4ac7bd665bd934843490a4d97cef6eacb11a6325 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
             



                                               
                 


























                                                                                  
                                                                                                                                                                      
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-calc
pkgver=1.20.1
pkgrel=0
pkgdesc="Calculator for MATE"
url="https://github.com/mate-desktop/mate-calc"
arch="all"
license="GPL-2.0"
depends="mate-common"
makedepends="itstool libtool intltool gtk+3.0-dev 
	libxml2-utils libxml2-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="4e6109877b25f647ae10a1211f16adb9889bc96a43f5e0f95ca7111583f98a2828dc91c0d89cd7a1bf102bc53d67476e1b6bbfccc04e3c3dd1990858aab2a27f  mate-calc-1.20.1.tar.xz"