[arch-commits] Commit in anki/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Mon May 4 16:54:08 UTC 2020


    Date: Monday, May 4, 2020 @ 16:54:08
  Author: demize
Revision: 624744

Fetch tarballs of all translation things

Modified:
  anki/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-04 16:50:38 UTC (rev 624743)
+++ PKGBUILD	2020-05-04 16:54:08 UTC (rev 624744)
@@ -54,14 +54,16 @@
 
 source=(
 	anki-$pkgver.tar.gz::https://github.com/ankitects/anki/archive/$pkgver.tar.gz
-	git+https://github.com/ankitects/anki-desktop-ftl#commit=255a12eadf5c6afc22705ac9ab7c9e2982c7d2b1
-	git+https://github.com/ankitects/anki-core-i18n#commit=23c4dc5bf5c88c782536ec48934ef6a379b10e72
+	ankitects-anki-core-i18n-23c4dc5.tar.gz::https://github.com/ankitects/anki-core-i18n/tarball/23c4dc5bf5c88c782536ec48934ef6a379b10e72
+	ankitects-anki-desktop-ftl-255a12e.tar.gz::https://github.com/ankitects/anki-desktop-ftl/tarball/255a12eadf5c6afc22705ac9ab7c9e2982c7d2b1
+	ankitects-anki-desktop-i18n-edcf8c85.tar.gz::https://github.com/ankitects/anki-desktop-i18n/tarball/edcf8c85e9c0fb0038a8beed4d48765a6e1eb1a8
 	0001-Move-aqt_data-to-sys.prefix-share.patch
 	0002-Remove-bad-build-steps-from-makefiles.patch
 )
 sha256sums=('1c4812e4a831b1332a5cfa736eedb2ac598c48d0206a21f072e426dc953266ed'
-            'SKIP'
-            'SKIP'
+            'ac9663da88d2e429e363c1878e1c9dabc59d1a82d12b1f6a9df86f7f345cbcf6'
+            '6cf6792023b619d1d5541b74b30d015c12b202a10579023390b1742928ad2eff'
+            '7cbec154a2506c39550ba7c5ef7780ee42b3480296b1e480912c78cca20f8434'
             '78ca8bd22f887ea2d47bd8938302a5a0be68bfee0ad8891a2f8ba60111d3b1a4'
             '1de438587d92acb1ad19ab744d2c7974456718435512090cda5a1ad7a20f3e57')
 
@@ -69,13 +71,14 @@
 	cd anki-$pkgver
 	patch -p1 <"$srcdir"/0001-Move-aqt_data-to-sys.prefix-share.patch
 	patch -p1 <"$srcdir"/0002-Remove-bad-build-steps-from-makefiles.patch
+
+	# Put translations in place.
+	ln -sf "$srcdir"/ankitects-anki-core-i18n-*/ rslib/ftl/repo
+	ln -sf "$srcdir"/ankitects-anki-desktop-ftl-*/ qt/ftl/repo
+	ln -sf "$srcdir"/ankitects-anki-desktop-i18n-*/ qt/po/repo
 }
 
 build() {
-	# Put translations in place.
-	git clone anki-desktop-ftl anki-$pkgver/qt/ftl/repo
-	git clone anki-core-i18n anki-$pkgver/rslib/ftl/repo
-
 	# Built into the shared libraries so that the Python component can check
 	# that it has the same value.
 	cd anki-$pkgver/meta


More information about the arch-commits mailing list