archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / psi-l10n / trunk / PKGBUILD
blob230d6c25659a879e093d45ec8a266737f62e8295
1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
3 pkgname=psi-l10n
4 pkgver=1.5
5 pkgrel=3
6 pkgdesc="Language packs for Psi"
7 arch=('any')
8 url="https://psi-im.org"
9 license=('GPL2')
10 depends=('psi')
11 makedepends=('qt5-tools')
12 options=('!strip' '!zipman')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/psi-im/psi-l10n/archive/$pkgver.tar.gz")
14 sha256sums=('a5f127dcf44b8d3a9f5de16823f4002937727fa5d6cb54ccbca631dd96db4632')
16 build() {
17         cd psi-l10n-$pkgver/translations
18         for langfile in *.ts; do
19                 lrelease-qt5 "$langfile"
20         done
23 package() {
24         cd psi-l10n-$pkgver/translations
25         install -v -dm755 "$pkgdir/usr/share/psi/translations"
26         install -v -m644 *.qm "$pkgdir/usr/share/psi/translations"