summaryrefslogtreecommitdiff
path: root/python3-sphinxcontrib-devhelp/Pkgfile
blob: d52bd2f1b4d7462531a43e0f08cdc1c88c9a2a5e (plain)
    1 # Description: sphinx extension which outputs Devhelp document
    2 # URL:         https://github.com/sphinx-doc/sphinxcontrib-devhelp/
    3 # Maintainer:  Danny Rawlins, crux at romster dot me
    4 # Depends on:  python3-setuptools
    5 
    6 name=python3-sphinxcontrib-devhelp
    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 }

Generated by cgit