mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/hid-tools to 0.3.1-4
This commit is contained in:
parent
b2c1bfed94
commit
437d78473a
1 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=hid-tools
|
||||
pkgver=0.3.1
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
arch=('any')
|
||||
url='https://gitlab.freedesktop.org/libevdev/hid-tools'
|
||||
license=('GPL2')
|
||||
|
@ -19,7 +19,10 @@ build() {
|
|||
cd $pkgname-$pkgver
|
||||
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
|
||||
cd doc/source
|
||||
|
||||
sphinx-build -b html . _build
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -28,6 +31,6 @@ package() {
|
|||
python setup.py install --root "$pkgdir" --skip-build -O1
|
||||
|
||||
# Install documentation
|
||||
install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
|
||||
cp -r -a --no-preserve=ownership build/sphinx/html "$pkgdir"/usr/share/doc/$pkgname
|
||||
install -dm 755 "$pkgdir"/usr/share/doc/$pkgname/html
|
||||
cp -r -a --no-preserve=ownership doc/source/_build/* "$pkgdir"/usr/share/doc/$pkgname/html
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue