aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-user-guide/APKBUILD
blob: c550d48b8ed2076d8895ed9e85e2f0a11e0a6275 (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.16.0
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/${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 \
                  --with-gtk=2.0 \
                  --prefix=/usr \
                  || return 1
        make || return 1
}

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

md5sums="3852fcde9af1d2d320ae86146916e9c5  mate-user-guide-1.16.0.tar.xz"
sha256sums="78aef5ba91b776f6e50dd2770b3a2fda258d76679dc9f723797a37fb100a4f5f  mate-user-guide-1.16.0.tar.xz"
sha512sums="90dd0af23c2532d401a52442b2837bb43329c18b4c76cf7ac67c84434e9b87fbf75050e5456f1b242755869c8540f5de3abd7a004bd400a1bf81cce66e3ccf80  mate-user-guide-1.16.0.tar.xz"