summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mazieres2020-04-27 17:28:46 -0700
committerDavid Mazieres2020-04-27 17:28:46 -0700
commit9977f12030e8970b3794d0f77bdfc7398afa7d89 (patch)
tree07610e65cec81549a55f7a0739ab24ac2cc2331d
parenta102949203bef7a0874ca746e1cf585b6392c724 (diff)
downloadaur-9977f12030e8970b3794d0f77bdfc7398afa7d89.tar.gz
git co -> checkout
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 36091a9a0966..b41f1d0e27a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = obs-v4l2sink-git
pkgdesc = v4l2-output for obs-studio
pkgver = 0.1.0.r12.1ec3c8a+obs25.0.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CatxFish/obs-v4l2sink
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 99d761830ccc..0dd3deeb90c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=obs-v4l2sink-git
obsver=$(obs --version | sed -e 's/[^0-9]*//;s/-.*//' 2>/dev/null)
pkgver=0.1.0.r12.1ec3c8a+obs25.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="v4l2-output for obs-studio"
arch=(x86_64)
url="https://github.com/CatxFish/obs-v4l2sink"
@@ -33,7 +33,7 @@ pkgver() {
prepare() {
cd "$srcdir"
# If obs is installed, then try to match installed version
- test -z "$obsver" || git -C obs-studio co "$obsver"
+ test -z "$obsver" || git -C obs-studio checkout "$obsver"
mkdir -p build
cd build
cmake -DLIBOBS_INCLUDE_DIR="../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr "../${pkgstem}"