From 69d03c7061a40a9ecab5ef8d64b48b2d095e55e4 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 29 Apr 2024 14:37:11 +0800 Subject: [PATCH] gtk-doc 1.34.0-1 --- PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..03b5eeb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# 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 +pkgname=gtk-doc +pkgver=1.34.0 +pkgrel=1 +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') +groups=() +depends=('docbook-xml' 'docbook-xsl' 'python-lxml' 'python-pygments' 'itstool' 'libxslt') +makedepends=('meson') +source=(https://download.gnome.org/sources/gtk-doc/1.34/gtk-doc-1.34.0.tar.xz) +sha256sums=(b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c) + +build() { + cd ${pkgname}-${pkgver} + + meson setup build --prefix=/usr --buildtype=release + + meson compile -C build +} + +package() { + cd ${pkgname}-${pkgver} + + meson install -C build --destdir ${pkgdir} +}