summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76e2a8c4fe810085b618baf850b056f07bca03c9 (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
28
# Maintainer: tytan652 <tytan652@tytanium.xyz>

pkgname=obs-scene-as-transition
pkgver=1.1.1
pkgrel=1
pkgdesc="A plugin for OBS Studio that will allow you to use a Scene as a Transition"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/scene-as-transition.1704/"
license=(GPL-2.0-or-later)
depends=("obs-studio>=28" "glibc")
makedepends=("cmake" "git")
source=("$pkgname::git+https://github.com/andilippi/$pkgname#tag=v$pkgver")
sha256sums=("SKIP")

build() {
  cmake -B build -S $pkgname\
  -DCMAKE_BUILD_TYPE=None \
  -DCMAKE_INSTALL_PREFIX='/usr' \
  -DCMAKE_INSTALL_LIBDIR=lib \
  -DLINUX_PORTABLE=OFF \
  -Wno-dev

  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}