summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkj-sh6042024-06-30 07:12:08 -0400
committerkj-sh6042024-06-30 07:12:08 -0400
commitbdfffd6ff4f4f98f67c55b69b8297be36dabcea5 (patch)
tree3588471c87d43c148fa878a8d3ef42feb7967b2a
parent7cd68940826a3a9dba70a22d19f4abca1a4112a0 (diff)
kj-gitbot: gnome-doc-utils/
-rw-r--r--gnome-doc-utils/.SRCINFO16
-rw-r--r--gnome-doc-utils/.gitignore6
-rw-r--r--gnome-doc-utils/PKGBUILD36
3 files changed, 58 insertions, 0 deletions
diff --git a/gnome-doc-utils/.SRCINFO b/gnome-doc-utils/.SRCINFO
new file mode 100644
index 0000000..1a15e1b
--- /dev/null
+++ b/gnome-doc-utils/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = gnome-doc-utils
+ pkgdesc = Documentation utilities for Gnome
+ pkgver = 0.21
+ pkgrel = 604
+ url = https://www.gnome.org
+ arch = any
+ license = GPL
+ license = LGPL
+ makedepends = intltool
+ makedepends = gnome-common
+ makedepends = git
+ depends = docbook-xml
+ depends = rarian
+ source = git+https://github.com/kj-sh604/gnome-doc-utils.git
+
+pkgname = gnome-doc-utils
diff --git a/gnome-doc-utils/.gitignore b/gnome-doc-utils/.gitignore
new file mode 100644
index 0000000..6b2b2ea
--- /dev/null
+++ b/gnome-doc-utils/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+*.tar
+*.tar.zst
+*.tar.gz
+*.tar.xz
diff --git a/gnome-doc-utils/PKGBUILD b/gnome-doc-utils/PKGBUILD
new file mode 100644
index 0000000..9a95fa6
--- /dev/null
+++ b/gnome-doc-utils/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-doc-utils
+pkgver=0.21
+pkgrel=604
+pkgdesc="Documentation utilities for Gnome"
+arch=('any')
+license=('GPL' 'LGPL')
+depends=(docbook-xml rarian)
+makedepends=(intltool gnome-common git)
+url="https://www.gnome.org"
+source=("git+https://github.com/kj-sh604/gnome-doc-utils.git")
+# pkgver() {
+# cd $pkgname
+# git describe --tags | sed 's/-/+/g'
+# }
+prepare() {
+ cd $pkgname
+ rm -f m4/glib-gettext.m4
+ NOCONFIGURE=1 ./autogen.sh
+ sed -i 's/SUBDIRS = .*/SUBDIRS = /' doc/Makefile.am
+}
+
+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
+}