core/gtk-doc/PKGBUILD
2018-05-23 23:54:20 +02:00

43 lines
850 B
Bash

# Contribution form Arch:
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtk-doc
pkgver=1.28
pkgrel=1
pkgdesc="Documentation tool for public library API"
arch=('any')
license=('GPL' 'FDL')
depends=('docbook-xsl' 'perl' 'python2-six')
makedepends=('jade' 'itstool')
optdepends=('jade: SGML support')
url="http://www.gtk.org/gtk-doc/"
_commit=695816a36b492140529ed84c59ee246be2b952b7 # tags/GTK_DOC_1_28^0
source=("git+https://git.gnome.org/browse/gtk-doc#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --disable-static
make
}
check() {
cd $pkgname
make check | true
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}