Skip to content

Instantly share code, notes, and snippets.

@umireon
Created January 25, 2024 17:49
Show Gist options
  • Select an option

  • Save umireon/eb83c2bd0657931345a3382bfbc4caed to your computer and use it in GitHub Desktop.

Select an option

Save umireon/eb83c2bd0657931345a3382bfbc4caed to your computer and use it in GitHub Desktop.
obs-localvocal PKGBUILD for Arch Linux
pkgbase = obs-localvocal
pkgdesc = OBS plugin for local speech recognition and captioning using AI
pkgver = 0.1.0
pkgrel = 1
url = https://github.com/occ-ai/obs-localvocal
arch = x86_64
license = GPL2
makedepends = cmake
makedepends = ninja
depends = obs-studio
depends = curl
source = obs-localvocal-0.1.0.tar.gz::https://github.com/occ-ai/obs-localvocal/archive/refs/tags/0.1.0.tar.gz
sha256sums = 90b7321f2cc7e04854d05e97e9f9c6dcac7856923cc4465f0656049e110c6317
pkgname = obs-localvocal
# Maintainer: Kaito Udagawa <umireon at gmail dot com>
pkgname=obs-localvocal
pkgver=0.1.0
pkgrel=1
pkgdesc='OBS plugin for local speech recognition and captioning using AI'
_source="${pkgname}-${pkgver}"
arch=(x86_64)
url='https://github.com/occ-ai/obs-localvocal'
license=('GPL2')
depends=('obs-studio' 'curl')
makedepends=('cmake' 'ninja')
source=("${_source}.tar.gz::$url/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('90b7321f2cc7e04854d05e97e9f9c6dcac7856923cc4465f0656049e110c6317')
build() {
cd "$_source"
cmake -B build --preset linux-x86_64 -DUSE_SYSTEM_CURL=ON
cmake --build build
}
package() {
cd "$_source"
cmake --install build --prefix "$pkgdir/usr"
}
@danir-de

Copy link
Copy Markdown

Nice! Would you like to submit this to the AUR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment