[arch-commits] Commit in psi-l10n/repos (community-any community-any/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 20 19:09:23 UTC 2018
Date: Tuesday, February 20, 2018 @ 19:09:22
Author: spupykin
Revision: 296579
archrelease: copy trunk to community-any
Added:
psi-l10n/repos/community-any/
psi-l10n/repos/community-any/PKGBUILD
(from rev 296577, psi-l10n/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: psi-l10n/repos/community-any/PKGBUILD (from rev 296577, psi-l10n/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-02-20 19:09:22 UTC (rev 296579)
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 264278 2017-10-25 15:45:36Z spupykin $
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=psi-l10n
+pkgver=1.3
+pkgrel=1
+pkgdesc="Language packs for Psi"
+arch=('any')
+url="http://psi-plus.com"
+license=('GPL2')
+depends=('psi')
+conflicts=('psi-l10n')
+replaces=('psi-l10n')
+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-plus/translations"
+ install -v -m644 *.qm "$pkgdir/usr/share/psi-plus/translations"
+}
More information about the arch-commits
mailing list