summaryrefslogtreecommitdiff
path: root/pcr-testing
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-07-17 21:03:54 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-07-17 21:06:18 -0400
commit9c821f0b3410c8004f81386be369662b75744e7f (patch)
tree2a79272134ba63521390ae54dba513f15955d442 /pcr-testing
parent2a625aeac74ebc4ef3a3367bee3a8c0fe27d149a (diff)
downloadabslibre-9c821f0b3410c8004f81386be369662b75744e7f.tar.gz
abslibre-9c821f0b3410c8004f81386be369662b75744e7f.tar.bz2
abslibre-9c821f0b3410c8004f81386be369662b75744e7f.zip
[kurso-de-esperanto]: upgrade to v4.1.3pre pre-release (unpublished)
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}/{} \;
+}