aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk-doc/APKBUILD
blob: c1737511e9184b9cfe4f8552622139ee487d6a40 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-doc
pkgver=1.20
pkgrel=0
pkgdesc="Documentation tool for public library API"
url="http://www.gtk.org/gtk-doc/"
arch="noarch"
license="GPL FDL"
depends="docbook-xsl gnome-doc-utils perl pkgconfig python"
makedepends="rarian-dev py-libxml2 gettext itstool"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() { 
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="58532fed036f72fc3bfd4fe79473247b  gtk-doc-1.20.tar.xz"
sha256sums="3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011  gtk-doc-1.20.tar.xz"
sha512sums="8b48bac2f9c176295353d59306de63461073ba12baed767b102bb7e09ac8962e3ed54581a1acf22d732e5fc7f2b409b1fc51d10bf5541323dd6152d99434a8d6  gtk-doc-1.20.tar.xz"