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