2019-05-21 19:39:26 +00:00
|
|
|
pkgname=hwtest
|
2019-05-30 20:18:34 +00:00
|
|
|
pkgver=0.2.0
|
2019-05-21 19:39:26 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Small utility to check hardware functionality on phones"
|
|
|
|
url="https://gitlab.com/MartijnBraam/hwtest"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2019-05-30 20:18:34 +00:00
|
|
|
depends="python3 ffmpeg v4l-utils evtest"
|
2019-05-21 19:39:26 +00:00
|
|
|
makedepends="python3-dev"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/MartijnBraam/hwtest/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
|
|
options="!check" # Doesn't like making chroot directories
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
|
|
}
|
2019-05-30 20:18:34 +00:00
|
|
|
sha512sums="3f722da76908315fcedc5b74be6c353aa4f2addc63a5f5a972753c8f878148d60bf1a1856ed0088e71108cf9402c8e87a6648d4e6c08772f90c2b833d9a9f69b hwtest-0.2.0.tar.gz"
|