pkgname=obs-studio pkgver=20.0.1 pkgrel=1 pkgdesc="Free and open source software for video recording and live streaming." arch=('x86_64') url="https://github.com/jp9000/obs-studio" license=('GPL2') depends=('ffmpeg' 'libxinerama' 'libxkbcommon-x11' 'jansson' 'qt5-x11extras' 'curl' 'hicolor-icon-theme' 'jack') makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264' 'vlc') optdepends=('libfdk-aac: FDK AAC codec support' 'libxcomposite: XComposite capture support' 'vlc: VLC plugin') install=$pkgname.install source=("$pkgname-$pkgver::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz") sha256sums=('3241667f180816b860622fd9ac572a86375a9a766ac45c69a886dcbdaf524643') prepare() { cd $pkgname-$pkgver mkdir -p build } build() { cd $pkgname-$pkgver/build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" .. make } package() { cd $pkgname-$pkgver/build make install DESTDIR="$pkgdir" }