aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-terminal/APKBUILD
blob: 65cff8467ee89d9e8956014072001c1e1201cd94 (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-terminal
pkgver=1.10.1
pkgrel=0
pkgdesc="MATE terminal emulator"
url="https://github.com/mate-desktop/mate-terminal"
arch="all"
license="GPL2"
depends="mate-common yelp-tools mate-desktop"
depends_dev=""
makedepends="$depends_dev libtool intltool dconf-dev libsm-dev itstool vte-dev
	mate-desktop-dev libxml2-utils"
install=""
subpackages="$pkgname-doc $pkgname-lang"
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="7b9d4d665224c33ee70a6219ee493657  mate-terminal-1.10.1.tar.xz"
sha256sums="a22a49dda08e2fc3430016b404b7d3da8524860cbcc66ab4c84954a0c9c00308  mate-terminal-1.10.1.tar.xz"
sha512sums="252340ce2e25857ac0e9755d567a8bac9b16a6b990f4ce6ec2fe44b7b5aa928b05e4ff34973cd50c0d78adb29d0f0c26783aa69007dfc2b5ef2fc628702efb6e  mate-terminal-1.10.1.tar.xz"