mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/hid-tools to 0.3.1-1
This commit is contained in:
parent
76b3d2fbce
commit
e581353ba6
1 changed files with 6 additions and 9 deletions
|
@ -4,23 +4,22 @@
|
||||||
# - remove makedepend on python-pypandoc
|
# - remove makedepend on python-pypandoc
|
||||||
|
|
||||||
pkgname=hid-tools
|
pkgname=hid-tools
|
||||||
pkgver=0.2
|
pkgver=0.3.1
|
||||||
pkgrel=7
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://gitlab.freedesktop.org/libevdev/hid-tools'
|
url='https://gitlab.freedesktop.org/libevdev/hid-tools'
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
pkgdesc='Python scripts to manipulate HID data'
|
pkgdesc='Python scripts to manipulate HID data'
|
||||||
depends=('python-parse' 'python-pyudev')
|
depends=('python-parse' 'python-pyudev')
|
||||||
makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
|
makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-sphinxcontrib-apidoc')
|
||||||
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||||
sha512sums=('580635bc679b8b6dd396c72b9a5d6560a56a3c3fa4b1d83ebbe82508977e23ce3abf0892406605937e62cde6335d205eba283b6c67dfe65630a2a27d74747ffb')
|
sha512sums=('fb2f08ea02c7e615244b3691fc26778343a9aee8bddc593f415547a45c8e99831c5a9e574b1e55c965f2e9b7753a67dd2cf3a5106e595c88dabe6a6e3c4f1d8c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
python setup.py build_sphinx
|
||||||
make doc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -30,7 +29,5 @@ package() {
|
||||||
|
|
||||||
# Install documentation
|
# Install documentation
|
||||||
install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
|
install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
|
||||||
cp -r -a --no-preserve=ownership doc/html "$pkgdir"/usr/share/doc/$pkgname
|
cp -r -a --no-preserve=ownership build/sphinx/html "$pkgdir"/usr/share/doc/$pkgname
|
||||||
rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue