aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mate-user-guide/APKBUILD
blob: 0c307ce3198caf8d3ede30154dc278121086fa4e (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-user-guide
pkgver=1.10.1
pkgrel=0
pkgdesc="Documents targeted for end-users of MATE"
url="https://github.com/mate-desktop/mate-user-guide"
arch="noarch"
license="CC"
depends=""
depends_dev=""
makedepends="$depends_dev itstool libxml2-utils intltool"
install=""
subpackages="$pkgname-doc"
source="http://pub.mate-desktop.org/releases/1.10/$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 \
                  --with-gtk=2.0 \
                  --prefix=/usr \
                  || return 1
        make || return 1
}

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

md5sums="86fc044062f78d2ea4efdf52573a6749  mate-user-guide-1.10.1.tar.xz"
sha256sums="ef56039c5111a77c1069ab926852a8f52d3f4f601a4017fb40fa9efc6814c948  mate-user-guide-1.10.1.tar.xz"
sha512sums="fa7a81c8e76487edb60dda767de9e921fc2c46e239d5d55caaa9b3f4d7a1d6b755616747aa42692755af7b17d84e476b698c926ef1f6697ac11e1cbe627a82af  mate-user-guide-1.10.1.tar.xz"