summaryrefslogtreecommitdiff
path: root/user/mate-user-guide/APKBUILD
blob: 3d905d3afdb215ac45e5566eaa427f0ae1497cb3 (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=mate-user-guide
pkgver=1.22.1
pkgrel=0
pkgdesc="User handbook for the MATE desktop environment"
url="https://mate-desktop.org"
arch="noarch"
license="GFDL-1.1+"
depends=""
makedepends="intltool itstool libxml2-utils"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-user-guide-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="972f609364cb0673c3c402f6936618ba4a212d122055ea18232734cc2cc9d023e9a16cbd78ba96898d227b6db640234c98b387550504224428bfc682b6090877  mate-user-guide-1.22.1.tar.xz"