You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
833 B

# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=gi-docgen
pkgver=2021.6
pkgrel=1
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=cb76996ba9ef7a1634ab9bde30c77c3bbb47c8db # tags/2021.6^0
source=("git+https://gitlab.gnome.org/GNOME/gi-docgen.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed '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 et: