4 changed files with 98 additions and 0 deletions
@ -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 |
||||
} |
@ -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__':
|
@ -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 |
||||
} |
@ -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…
Reference in new issue