summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d625ca01bab7ee3f6102c85b4496caba5cc0d814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Philipp A. <flying-sheep@web.de>

pkgname=camset
pkgver=0.0.19
pkgrel=2
pkgdesc='GUI for v4l2-ctl'
arch=(any)
provides=($pkgname python-$pkgname)
url="https://github.com/azeam/$pkgname"
license=(GPL3)
depends=(python python-opencv python-gobject v4l-utils pkgconf)
makedepends=(python-installer)
_wheel="$pkgname-$pkgver-py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/py3/${pkgname::1}/$pkgname/$_wheel")
sha256sums=('e092fc77268796bbd676440cd179855304dc422f3c03b3c414a5ba26ec91271b')
noextract=("$_wheel")

# package only provides a wheel file so no build()

package() {
	python -m installer --destdir="$pkgdir" "$_wheel"
	chmod +x "$pkgdir/usr/share/applications/camset.desktop"
}