aboutsummaryrefslogtreecommitdiffstats
path: root/testing/marco/APKBUILD
blob: 9c4442334d2f4fa2aa5fe7be8714909c57150f93 (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:
pkgname=marco
pkgver=1.9.3
pkgrel=0
pkgdesc="MATE window manager"
url="https://github.com/mate-desktop/marco"
arch="all"
license="GPL2"
depends="mate-common yelp-tools"
depends_dev=""
makedepends="$depends_dev libtool itstool zenity intltool glib-dev gtk+-dev
	libxcomposite-dev libcanberra-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
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 CFLAGS='-D_GNU_SOURCE' || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
	find "$pkgdir" -name \*.la -delete
}

md5sums="2939e2b4540943d26f254e9c45c4869e  marco-1.9.3.tar.xz"
sha256sums="be03636784b5a99c683f2de886485dc5b24ce040628f4e83155997922aa76329  marco-1.9.3.tar.xz"
sha512sums="a6bb8d8e4adc6e13c6b969eaec9a9326d4fa4b56ee78d3bf0939085fcbd333eec0b0d1a34b4b36a99445a9512129d7a4546d333e65c1b5e891109933341dc699  marco-1.9.3.tar.xz"