summaryrefslogtreecommitdiff
path: root/user/mate-calc/APKBUILD
blob: b8c15fe4f3263c43a08fb91b9a71e817ea8eb3b2 (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
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=mate-calc
pkgver=1.24.0
pkgrel=0
pkgdesc="Calculator utility for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-2.0+ AND GPL-2.0-only"
depends=""
makedepends="gtk+3.0-dev intltool itstool libxml2-utils libxml2-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-calc-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="ebb18f07ded5577bb0987b2027e7b73abc823a567bfa00f9cc9bfaf75de498f150b6b4c2e13486c530a3cbb078f1b798c415b33d668d952e8650799dd05c99eb  mate-calc-1.24.0.tar.xz"