2017-12-07 21:28:54 +08:00
|
|
|
# Contribution form Arch:
|
2010-05-18 22:39:29 +08:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=gtk-doc
|
2018-05-24 05:54:20 +08:00
|
|
|
pkgver=1.28
|
2018-01-22 02:16:12 +08:00
|
|
|
pkgrel=1
|
2010-05-18 22:39:29 +08:00
|
|
|
pkgdesc="Documentation tool for public library API"
|
2010-10-09 08:15:49 +08:00
|
|
|
arch=('any')
|
2010-05-18 22:39:29 +08:00
|
|
|
license=('GPL' 'FDL')
|
2018-05-24 05:54:20 +08:00
|
|
|
depends=('docbook-xsl' 'perl' 'python2-six')
|
|
|
|
makedepends=('jade' 'itstool')
|
2010-05-18 22:39:29 +08:00
|
|
|
optdepends=('jade: SGML support')
|
|
|
|
url="http://www.gtk.org/gtk-doc/"
|
2018-05-24 05:54:20 +08:00
|
|
|
_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
|
|
|
|
}
|
2010-10-09 08:15:49 +08:00
|
|
|
|
|
|
|
build() {
|
2018-05-24 05:54:20 +08:00
|
|
|
cd $pkgname
|
|
|
|
./configure --prefix=/usr --disable-static
|
2010-10-09 08:15:49 +08:00
|
|
|
make
|
2010-05-18 22:39:29 +08:00
|
|
|
}
|
2010-10-09 08:15:49 +08:00
|
|
|
|
2018-05-24 05:54:20 +08:00
|
|
|
check() {
|
|
|
|
cd $pkgname
|
|
|
|
make check | true
|
2010-10-09 08:15:49 +08:00
|
|
|
}
|
|
|
|
|
2018-05-24 05:54:20 +08:00
|
|
|
package() {
|
|
|
|
cd $pkgname
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|