aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk-doc/APKBUILD
blob: 2619f2d4b7b599b481c00ee6a4fb88e2e92766ba (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-doc
pkgver=1.22
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"
}

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="20e943f43bd18ba9eb484f15ae67fbfa  gtk-doc-1.22.tar.xz"
sha256sums="932865c912ce0d81c9480bf957d3908bae6e18c0cf2ee33014d63b920047fca8  gtk-doc-1.22.tar.xz"
sha512sums="8ee6e52cd75cc4382db5e766924fbb912af8f0c75f8a1ebce201b5f4c818fbefbc6797d9f46bc1fe0ea0a758c4fe47e8531d554146923284964615a11add213a  gtk-doc-1.22.tar.xz"