summaryrefslogtreecommitdiff
path: root/pcr-testing
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing')
-rw-r--r--pcr-testing/kurso-de-esperanto/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr-testing/kurso-de-esperanto/PKGBUILD b/pcr-testing/kurso-de-esperanto/PKGBUILD
new file mode 100644
index 000000000..d67640003
--- /dev/null
+++ b/pcr-testing/kurso-de-esperanto/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor: bill-auger <bill-auger@programmer.net>
+
+
+pkgname=kurso-de-esperanto
+pkgver=4.1.3pre
+pkgrel=1
+pkgdesc="Kurso de Esperanto is a multimedia computer program for teaching yourself Esperanto"
+arch=('armv7h' 'i686' 'x86_64')
+url=http://www.kurso.com.br/
+license=('GPL3')
+depends=('qt5-multimedia')
+source=(https://kurso.com.br/kurso_qt5_source.tar.gz \
+ https://kurso.com.br/kurso4_only_qt.tar.gz )
+sha256sums=('166061290b71c823e90aa84ff250263bb05bca2c855994f180acf6f6814fba4d' # pre-release source-ball
+ 'eea979391b016a630dc93bdf52f5d2075d4b5c55c7fda97e8f3372c66dea57d7') # pre-release binary assets
+
+build()
+{
+ # cd "${srcdir}"/${pkgname}
+ cd "${srcdir}"/KURSO_Qt5/ # pre-release source-ball
+
+ qmake CONFIG+=release CONFIG+=force_debug_info
+ make PREFIX=/usr
+}
+
+package()
+{
+ # cd "${srcdir}"/${pkgname}
+ cd "${srcdir}"/KURSO_Qt5/ # pre-release source-ball
+
+ _dest_dir="${pkgdir}"/usr/bin/${pkgname}
+
+ # Install kurso binary into it's on folder + symlink
+ install -D -m755 kurso4 ${_dest_dir}/kurso4
+ ln -s /usr/bin/${pkgname}/kurso4 "${pkgdir}"/usr/bin/kurso4
+
+ # Copy missing assets from the binary release, source archive is incomplete causing segfault
+ cd "${srcdir}"/kurso4_only_qt/
+ find sonoj/ tradukoj/ -type f -exec install -Dm644 {} ${_dest_dir}/{} \;
+}