[arch-commits] Commit in psi-l10n/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:58:58 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:58:58
  Author: felixonmars
Revision: 659930

archrelease: copy trunk to community-staging-any

Added:
  psi-l10n/repos/community-staging-any/
  psi-l10n/repos/community-staging-any/PKGBUILD
    (from rev 659929, psi-l10n/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: psi-l10n/repos/community-staging-any/PKGBUILD (from rev 659929, psi-l10n/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:58:58 UTC (rev 659930)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=psi-l10n
+pkgver=1.4
+pkgrel=2
+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=('a3b228d89982f505eac81faab92ac98a792e91197c255736f390e862f9978a63')
+
+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"
+}



More information about the arch-commits mailing list