22 lines
714 B
Text
22 lines
714 B
Text
pkgname=hwtest
|
|
pkgver=0.1.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"
|
|
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="631a4d18be9f69c1c5af52e7e01129f87ec0a5471084f2ec30bfb2771575ff13149db777b3824b67203999867f4cd1160c49f5ea657c82f461e767f5266ac4fb hwtest-0.1.0.tar.gz"
|