Browse Source

[trunk] -> [extra] 'gi-docgen-2021.2+76+g7416fbe-1' add

master
Dudemanguy 1 year ago
parent
commit
bee6d828f8
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 36
      gi-docgen/trunk/PKGBUILD
  2. 13
      gi-docgen/trunk/fix.diff
  3. 36
      gi-docgen/x86_64/extra/PKGBUILD
  4. 13
      gi-docgen/x86_64/extra/fix.diff

36
gi-docgen/trunk/PKGBUILD

@ -0,0 +1,36 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=gi-docgen
pkgver=2021.2+76+g7416fbe
pkgrel=1
pkgdesc="Documentation generator for GObject-based libraries"
url="https://gitlab.gnome.org/ebassi/gi-docgen"
arch=(any)
license=(Apache GPL3)
depends=(python-jinja python-markdown python-markupsafe python-pygments
python-toml python-typogrify)
makedepends=(python-setuptools python-pip git)
_commit=7416fbe765919a0d8654b2599defd4c56d0e1c27 # main
source=("git+$url.git#commit=$_commit" fix.diff)
sha256sums=('SKIP'
'aa0a255c883fb19276f35f107c967cd961cb22e7e67a6b6f10048fef19301675')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
git apply -3 ../fix.diff
}
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

13
gi-docgen/trunk/fix.diff

@ -0,0 +1,13 @@
diff --git i/setup.py w/setup.py
index 93ede37..5e18941 100644
--- i/setup.py
+++ w/setup.py
@@ -55,7 +55,7 @@ package_data = {
data_files = [
('share/pkgconfig', ['gi-docgen.pc']),
- ('share/man/man1', ['gi-docgen.1']),
+ ('share/man/man1', ['docs/gi-docgen.1']),
]
if __name__ == '__main__':

36
gi-docgen/x86_64/extra/PKGBUILD

@ -0,0 +1,36 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=gi-docgen
pkgver=2021.2+76+g7416fbe
pkgrel=1
pkgdesc="Documentation generator for GObject-based libraries"
url="https://gitlab.gnome.org/ebassi/gi-docgen"
arch=(any)
license=(Apache GPL3)
depends=(python-jinja python-markdown python-markupsafe python-pygments
python-toml python-typogrify)
makedepends=(python-setuptools python-pip git)
_commit=7416fbe765919a0d8654b2599defd4c56d0e1c27 # main
source=("git+$url.git#commit=$_commit" fix.diff)
sha256sums=('SKIP'
'aa0a255c883fb19276f35f107c967cd961cb22e7e67a6b6f10048fef19301675')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
git apply -3 ../fix.diff
}
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

13
gi-docgen/x86_64/extra/fix.diff

@ -0,0 +1,13 @@
diff --git i/setup.py w/setup.py
index 93ede37..5e18941 100644
--- i/setup.py
+++ w/setup.py
@@ -55,7 +55,7 @@ package_data = {
data_files = [
('share/pkgconfig', ['gi-docgen.pc']),
- ('share/man/man1', ['gi-docgen.1']),
+ ('share/man/man1', ['docs/gi-docgen.1']),
]
if __name__ == '__main__':
Loading…
Cancel
Save