mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
722 B
Bash
29 lines
722 B
Bash
# Contributions from Arch:
|
|
# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
|
|
|
|
pkgname=psi-l10n
|
|
pkgver=1.3
|
|
pkgrel=1
|
|
pkgdesc="Language packs for Psi"
|
|
arch=('any')
|
|
url="https://psi-im.org"
|
|
license=('GPL2')
|
|
depends=('psi')
|
|
makedepends=('qt5-tools')
|
|
options=('!strip' '!zipman')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/psi-im/psi-l10n/archive/$pkgver.tar.gz")
|
|
sha256sums=('122fb6e45e511fe96d8a84beb86e8e6fcb11500f468f9e97b52fddf193041378')
|
|
|
|
build() {
|
|
cd psi-l10n-$pkgver/translations
|
|
for langfile in *.ts; do
|
|
lrelease-qt5 "$langfile"
|
|
done
|
|
}
|
|
|
|
package() {
|
|
cd psi-l10n-$pkgver/translations
|
|
install -v -dm755 "$pkgdir/usr/share/psi/translations"
|
|
install -v -m644 *.qm "$pkgdir/usr/share/psi/translations"
|
|
}
|