mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:43:12 +08:00
[skip-ci] psi-l10n: import
This commit is contained in:
parent
7c4e096c08
commit
d40e6402f9
28
psi-l10n/PKGBUILD
Normal file
28
psi-l10n/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# 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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user