blob: 6e563f4a519aa0968747e1c449b9ee24bdfe1e56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
pkgname=vibe-bin
pkgver=2.6.9
pkgrel=1
pkgdesc="Transcribe audio / video offline using OpenAI Whisper"
arch=('x86_64')
url="https://thewh1teagle.github.io/vibe/"
license=('MIT')
depends=('ffmpeg' 'openblas' 'vulkan-icd-loader' 'libwebkit2gtk-4.1.so' 'gtk3')
source=("https://github.com/thewh1teagle/vibe/releases/download/v${pkgver}/vibe_${pkgver}_amd64.deb")
sha256sums=('f69185043b21667ecc9ae7ffc60ba689575f7f724b8355ad45fa2518c3471478')
package() {
tar -xf data.tar.* -C "${srcdir}"
install -Dm644 "${srcdir}/usr/share/applications/vibe.desktop" \
"${pkgdir}/usr/share/applications/vibe.desktop"
install -Dm644 "${srcdir}/usr/share/icons/hicolor/128x128/apps/vibe.png" \
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/vibe.png"
install -Dm644 "${srcdir}/usr/share/icons/hicolor/256x256@2/apps/vibe.png" \
"${pkgdir}/usr/share/icons/hicolor/256x256@2/apps/vibe.png"
install -Dm644 "${srcdir}/usr/share/icons/hicolor/32x32/apps/vibe.png" \
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/vibe.png"
install -Dm755 "${srcdir}/usr/bin/vibe" \
"${pkgdir}/usr/bin/vibe"
chmod -R 755 "${pkgdir}/usr"
for lang_dir in "${srcdir}/usr/lib/vibe/locales/"*; do
install -d "${pkgdir}/usr/lib/vibe/locales/$(basename "$lang_dir")"
install -m644 "$lang_dir"/* "${pkgdir}/usr/lib/vibe/locales/$(basename "$lang_dir")/"
done
}
|