blob: 4a1a04253ea4b13e729580be07a74c87a11c1c12 (
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
|
# Maintainer: xifan <xifan2333@gmail.com>
pkgname=fcitx5-vinput-bin
_pkgname=fcitx5-vinput
pkgver=2.4.1
pkgrel=1
pkgdesc="Offline voice input addon for Fcitx5 with optional OpenAI-compatible postprocess"
arch=('x86_64')
url="https://github.com/xifan2333/fcitx5-vinput"
license=('GPL-3.0-only')
depends=('curl' 'fcitx5' 'libarchive' 'openssl' 'pipewire' 'qt6-base' 'systemd-libs')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
options=(!strip)
install="${pkgname}.install"
source_x86_64=("${_pkgname}-${pkgver}-1-x86_64.pkg.tar.zst::https://github.com/xifan2333/fcitx5-vinput/releases/download/v${pkgver}/${_pkgname}-${pkgver}-1-x86_64.pkg.tar.zst")
sha256sums_x86_64=('275649f2ac9f1dc0d025cc1580b62750603b953023fba2a3d74b3d4f4e3bba6e')
package() {
cd "${srcdir}"
# Extract the pre-built Arch package (skip metadata files)
tar -xf "${_pkgname}-${pkgver}-1-x86_64.pkg.tar.zst" \
--exclude='.BUILDINFO' \
--exclude='.MTREE' \
--exclude='.PKGINFO' \
-C "${pkgdir}/"
}
|