APKBUILD 744 Bytes
Newer Older
Alan Lacerda's avatar
Alan Lacerda committed
1
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
2
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
Alan Lacerda's avatar
Alan Lacerda committed
3
pkgname=mate-common
Leo's avatar
Leo committed
4 5
pkgver=1.22.1
pkgrel=0
Alan Lacerda's avatar
Alan Lacerda committed
6
pkgdesc="Common scripts and macros"
Leo's avatar
Leo committed
7
url="https://mate-desktop.org/"
Alan Lacerda's avatar
Alan Lacerda committed
8
arch="noarch"
9
license="GPL-3.0-or-later"
10
subpackages="$pkgname-doc"
Leo's avatar
Leo committed
11
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-common-$pkgver.tar.xz"
Alan Lacerda's avatar
Alan Lacerda committed
12 13 14

build() {
	cd "$_builddir"
15 16 17
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
18
		--sysconfdir=/etc \
19 20 21
		--prefix=/usr
	make
}
22

23 24
check() {
	make check
Alan Lacerda's avatar
Alan Lacerda committed
25 26 27
}

package() {
Leo's avatar
Leo committed
28
	make DESTDIR="$pkgdir" install
Alan Lacerda's avatar
Alan Lacerda committed
29 30
}

Leo's avatar
Leo committed
31
sha512sums="0dfeb96485205a01bea70b9019e1bfb874147b7e970de897930b2296f7f9670a2401869ebae993bf51b3ae654aab596ef4547878a5649560bc24ff0532e004f4  mate-common-1.22.1.tar.xz"