aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-common/APKBUILD
blob: 5ba90e610dd1522d43050c24880a9466d7c0a39d (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
39
40
41
42
43
44
45
46
47
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-common
pkgver=1.10.0
pkgrel=0
pkgdesc="Common scripts and macros"
url="http://mate-desktop.org/"
arch="noarch"
license="GPLv3+"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages=""
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr \
		|| return 1
	make || return 1

}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="6b3cd7ca22e5771424cf680214103727  mate-common-1.10.0.tar.xz"
sha256sums="a2193e5d2ae78aa3f7bdf5636fb46d8142d417be76885758bf3795bc5e73d822  mate-common-1.10.0.tar.xz"
sha512sums="1b183fcfcef1f52b78829c57ebfcf5a3fc5720ca2049e16339df947436638c188ef04b825e7e28723e24d60108bee0f6971c8395abf8af5ea40d3b6397b99ba4  mate-common-1.10.0.tar.xz"