diff options
author | Cobalt Space | 2020-11-10 11:14:01 -0800 |
---|---|---|
committer | Cobalt Space | 2020-11-10 11:14:01 -0800 |
commit | 552dbdbb77c412308c7a8e6f47f8dcf3cead60d0 (patch) | |
tree | ea46f9704a774ee72ef1c6d2abeed5b9fdc0e0bd /PKGBUILD | |
parent | 05052b7a7022257f3b7943bdf7c20955cfab2364 (diff) | |
download | aur-552dbdbb77c412308c7a8e6f47f8dcf3cead60d0.tar.gz |
stop trying to patch after first time
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,7 @@ # Contributor: ledti <antergist at gmail dot com> pkgname=obs-studio-wayland-git pkgver=26.0.2.r83.g5f6793676 -pkgrel=1 +pkgrel=2 pkgdesc="Free, open source software for live streaming and recording (with wayland patches)" arch=("i686" "x86_64") url="https://github.com/obsproject/obs-studio" @@ -45,9 +45,10 @@ prepare() { git config submodule.plugins/obs-browser.url $srcdir/obs-browser git submodule update - for patch in $srcdir/obs-studio-wayland/*.patch; do + [ ! -e patched ] && for patch in $srcdir/obs-studio-wayland/*.patch; do patch -Np1 -i "$patch" done + touch patched } build() { |