pkgname=hwtest pkgver=0.2.0 pkgrel=0 pkgdesc="Small utility to check hardware functionality on phones" url="https://gitlab.com/MartijnBraam/hwtest" arch="noarch" license="MIT" depends="python3 ffmpeg v4l-utils evtest" 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" } sha512sums="3f722da76908315fcedc5b74be6c353aa4f2addc63a5f5a972753c8f878148d60bf1a1856ed0088e71108cf9402c8e87a6648d4e6c08772f90c2b833d9a9f69b hwtest-0.2.0.tar.gz"