blob: eabb01536ea2041f3c1561a743f9e8d41b36eb7c (
plain)
1 # Description: sphinx extension which outputs Apple help books
2 # URL: https://github.com/sphinx-doc/sphinxcontrib-applehelp/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python3-setuptools
5
6 name=python3-sphinxcontrib-applehelp
7 version=1.0.2
8 release=1
9 source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
10
11 build() {
12 cd ${name#*-}-$version
13
14 sed -i '/^tag_build =/s/= .*$/=/' setup.cfg
15 sed -i '/^tag_date =/s/true/false/' setup.cfg
16
17 /usr/bin/python3 setup.py build
18 /usr/bin/python3 setup.py install \
19 --prefix=/usr \
20 --root=$PKG
21
22 chmod -R go-w,a+r,u+w $PKG
23 }
|