aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-media/APKBUILD
blob: 7a687636d6563a42cf4a308ef39e68894e2eaca2 (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
38
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-media
pkgver=1.21.0
pkgrel=0
pkgdesc="Media tools for MATE"
url="https://github.com/mate-desktop/mate-media"
arch="all"
license="GPL-2.0"
makedepends="intltool gobject-introspection-dev gtk+3.0-dev
	libcanberra-dev libunique-dev libmatemixer-dev mate-desktop-dev
	dconf-dev libxml2-dev startup-notification-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

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

sha512sums="eff1eaaae05b445f6800532a2285f7f902df6bc3775cc289618f6e7cb611bfe111bc62169adaf7546a00393960cf7e20f1b9023d74cec08c53487c6c2bf7f6ad  mate-media-1.21.0.tar.xz"