summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de68a78b660cab9ea2eb0e478d2a2703e7dd1e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Nicolas Goy <me@kuon.ch>

pkgname=openswitcher-git
pkgver=0.8.0
pkgrel=1
pkgdesc="BlackMagic Atem control software implementation"
arch=("any")
url="https://git.sr.ht/~martijnbraam/pyatem"
license=('GPL3')
groups=()
depends=('python' 'python-pyusb')
makedepends=('git' 'meson')
source=("git+https://git.sr.ht/~martijnbraam/pyatem")
md5sums=('SKIP')

build() {
  cd $srcdir/pyatem
  python setup.py build
  meson build --prefix /usr
  meson compile -C build
}

package() {
  cd $srcdir/pyatem
  python setup.py install --root "$pkgdir"
  DESTDIR=$pkgdir meson install -C build
}