gtk-doc/PKGBUILD

39 lines
1004 B
Bash
Raw Permalink Normal View History

2024-04-29 14:37:11 +08:00
# 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
2024-11-04 17:46:51 +08:00
pkgrel=2
2024-04-29 14:37:11 +08:00
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')
2024-11-04 17:46:51 +08:00
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)
2024-04-29 14:37:11 +08:00
sha256sums=(b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c)
build() {
cd ${pkgname}-${pkgver}
2024-11-04 17:46:51 +08:00
${FUTURE_MESON}
2024-04-29 14:37:11 +08:00
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}