aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mate-common/APKBUILD
blob: 4473aa519c0b334d10967b1774ae8607b166d552 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=mate-common
pkgver=1.9.0
pkgrel=1
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/1.9/$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 \
		--prefix=/usr \
		|| return 1
	make || return 1

}

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

md5sums="bada705720debdb00f0b6b18e03ce5af  mate-common-1.9.0.tar.xz"
sha256sums="75fc61199308757b2b4c4f9f55a4198eeda3acb07fb7397083b12a21764f5338  mate-common-1.9.0.tar.xz"
sha512sums="8fe26770331650bdb1fd1eb96c5a1a320eaa9bcc9de22ec4e6dc4fd766365a6ed02f0de08399e191d6c5572ad4a3fc9d258fcc691262235540bcec75ff51b4df  mate-common-1.9.0.tar.xz"