Date: Saturday, April 8, 2023 @ 03:23:49
  Author: felixonmars
Revision: 473214

archrelease: copy trunk to staging-any

Added:
  gi-docgen/repos/staging-any/
  gi-docgen/repos/staging-any/PKGBUILD
    (from rev 473213, gi-docgen/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: gi-docgen/repos/staging-any/PKGBUILD (from rev 473213, 
gi-docgen/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2023-04-08 03:23:49 UTC (rev 473214)
@@ -0,0 +1,36 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=gi-docgen
+pkgver=2023.1
+pkgrel=4
+pkgdesc="Documentation generator for GObject-based libraries"
+url="https://gnome.pages.gitlab.gnome.org/gi-docgen/";
+arch=(any)
+license=(Apache GPL3)
+depends=(python-jinja python-markdown python-markupsafe python-pygments
+         python-toml python-typogrify)
+makedepends=(python-setuptools git)
+_commit=63b4fad4181e793f34b7777a89e5cb58fe8ac7e6  # tags/2023.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gi-docgen.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  cd $pkgname
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to