summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornetworkjanitor2019-10-06 21:31:45 +0200
committernetworkjanitor2019-10-06 21:31:45 +0200
commit7c1267acc2d810b129c3c9d7ad394e71b7a4753d (patch)
treedd49b2023428ff6589f1b0f16ef1b545b026a058
downloadaur-7c1267acc2d810b129c3c9d7ad394e71b7a4753d.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..815c77148f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = obs-input-overlay-bin
+ pkgdesc = obs-studio plugin to show keyboard, gamepad and mouse input on stream.
+ pkgver = v4.8
+ pkgrel = 1
+ url = https://github.com/univrsal/input-overlay
+ arch = x86_64
+ license = GPL
+ depends = obs-studio>=19.0.3
+ depends = libuiohook
+ provides = obs-input-overlay
+ conflicts = obs-input-overlay
+ source = https://github.com/univrsal/input-overlay/releases/download/v4.8/input-overlay.v4.8b.linux64.zip
+ sha256sums = 0aa52c1478f6c465f8e2d05400ca03d768d650d0e41c510ed5091d6af8265d6d
+
+pkgname = obs-input-overlay-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..55eb248daa0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: NexAdn
+pkgname=obs-input-overlay-bin
+pkgver="v4.8"
+_obsver=19.0.3
+pkgrel=1
+pkgdesc="obs-studio plugin to show keyboard, gamepad and mouse input on stream."
+arch=("x86_64")
+url="https://github.com/univrsal/input-overlay"
+license=("GPL")
+provides=("obs-input-overlay")
+conflicts=("obs-input-overlay")
+depends=(
+ "obs-studio>=${_obsver}"
+ "libuiohook"
+)
+source=(
+ "https://github.com/univrsal/input-overlay/releases/download/${pkgver}/input-overlay.${pkgver}b.linux64.zip"
+)
+sha256sums=('0aa52c1478f6c465f8e2d05400ca03d768d650d0e41c510ed5091d6af8265d6d')
+
+package() {
+ install -d ${pkgdir}/usr/lib/obs-plugins/
+ install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-input-overlay/presets/
+ install -Dm755 ./plugin/bin/64bit/* ${pkgdir}/usr/lib/obs-plugins/
+ cp -R ./plugin/data/* ${pkgdir}/usr/share/obs/obs-plugins/obs-input-overlay/
+ cp -R ./presets/* ${pkgdir}/usr/share/obs/obs-plugins/obs-input-overlay/presets/
+ cd ${pkgdir}/usr/share/obs/obs-plugins/obs-input-overlay/presets/
+ for f in *.zip; do unzip -d "${f%*.zip}" "$f"; done
+}
+