summaryrefslogtreecommitdiffstats
path: root/gnome-doc-utils-kj_sh604/PKGBUILD
diff options
context:
space:
mode:
authorkj-sh6042025-05-07 22:19:56 -0400
committerkj-sh6042025-05-07 22:19:56 -0400
commitf5aa5342add73a2ab4548c7b894c77b7ced1987c (patch)
tree5513bf930cbb8ce5042fc48f3201156b923b52a9 /gnome-doc-utils-kj_sh604/PKGBUILD
parent7443f24cfe307b49819616713fe390b118d46689 (diff)
refactor: update more `agave` stuff²
Diffstat (limited to 'gnome-doc-utils-kj_sh604/PKGBUILD')
-rw-r--r--gnome-doc-utils-kj_sh604/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnome-doc-utils-kj_sh604/PKGBUILD b/gnome-doc-utils-kj_sh604/PKGBUILD
new file mode 100644
index 0000000..4dd5641
--- /dev/null
+++ b/gnome-doc-utils-kj_sh604/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
+# Contributor: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-doc-utils-kj_sh604
+_pkgname=gnome-doc-utils
+pkgver=0.20.10+16+gc03cc09
+pkgrel=4
+pkgdesc="Documentation utilities for Gnome"
+arch=('any')
+license=('GPL' 'LGPL')
+depends=(docbook-xml rarian python2-libxml2)
+makedepends=(intltool gnome-common git)
+provides=(gnome-doc-utils)
+conflicts=(gnome-doc-utils)
+url="https://www.gnome.org"
+_commit=c03cc0963996934e03587af3e351c2bb9dab6b2a # master
+source=("git+https://git.gnome.org/browse/gnome-doc-utils#commit=$_commit")
+source=("git+https://gitlab.gnome.org/Archive/gnome-doc-utils.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ rm -f m4/glib-gettext.m4
+ sed -i 's/SUBDIRS = .*/SUBDIRS = /' 'doc/Makefile.am'
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "$pkgname"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc --mandir=/usr/share/man \
+ --localstatedir=/var --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+}