aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-calc/APKBUILD
blob: 06a94636b8000911623c463b63723b1194dba702 (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
33
34
35
36
37
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-calc
pkgver=1.19.0
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="05fbd6e763e6f18b52ff218996303d2e15a15bf120efcce503a069abc789f90e91d4f9325e38a8fe5683c55b4b4e89dabb62a5394ffc461f371270ca0e4d7ccf  mate-calc-1.19.0.tar.xz"