summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCobalt Space2020-11-10 11:14:01 -0800
committerCobalt Space2020-11-10 11:14:01 -0800
commit552dbdbb77c412308c7a8e6f47f8dcf3cead60d0 (patch)
treeea46f9704a774ee72ef1c6d2abeed5b9fdc0e0bd
parent05052b7a7022257f3b7943bdf7c20955cfab2364 (diff)
downloadaur-552dbdbb77c412308c7a8e6f47f8dcf3cead60d0.tar.gz
stop trying to patch after first time
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21e3d2825b27..bf9de735805e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = obs-studio-wayland-git
pkgdesc = Free, open source software for live streaming and recording (with wayland patches)
pkgver = 26.0.2.r83.g5f6793676
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/obsproject/obs-studio
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a64c516f6783..4fbfb914a5a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {