39 lines
1004 B
Bash
39 lines
1004 B
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=gtk-doc
|
|
pkgver=1.34.0
|
|
pkgrel=2
|
|
pkgdesc="Documentation tool for public library API"
|
|
arch=('x86_64')
|
|
url="https://www.gtk.org/gtk-doc"
|
|
license=('GFDL-1.1-or-later' 'GPL-2.0-or-later')
|
|
depends=(
|
|
'docbook-xml'
|
|
'docbook-xsl'
|
|
'glib2-docs'
|
|
'python-lxml'
|
|
'python-pygments'
|
|
'itstool'
|
|
'libxslt')
|
|
makedepends=('meson' 'glib2')
|
|
source=(https://download.gnome.org/sources/gtk-doc/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${FUTURE_MESON}
|
|
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
meson install -C build --destdir ${pkgdir}
|
|
}
|