summaryrefslogtreecommitdiffstats
path: root/main/gtk-doc/APKBUILD
blob: 34ede062c276f37534a959ab0388559480b8832e (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.19
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="1d1b5c074598415454a4be88228cc8f2  gtk-doc-1.19.tar.xz"
sha256sums="27df247fa828433a9390368e2088cc22f954f2ce1f255ddbd12ab6e027b12e68  gtk-doc-1.19.tar.xz"
sha512sums="bf8013a35b999d048538b03d65fbcb202fd2f153435f6dd711dbfac1cb2db68862cb0baa6a478ec2d587a7372290381cfed75827a3bd47d75324a70b1eeabdc1  gtk-doc-1.19.tar.xz"