summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-10-27 21:24:14 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-10-27 21:24:14 -0400
commit2ab789e77c31cf9a55b81624d82e5b718db64dd9 (patch)
tree708ef2abc71837b832656d61a0dfad99ffa5fea8 /pcr
parentd0c18177e813a2c323d9965bba732b9d15900424 (diff)
downloadabslibre-2ab789e77c31cf9a55b81624d82e5b718db64dd9.tar.gz
abslibre-2ab789e77c31cf9a55b81624d82e5b718db64dd9.tar.bz2
abslibre-2ab789e77c31cf9a55b81624d82e5b718db64dd9.zip
add kurso4
Diffstat (limited to 'pcr')
-rw-r--r--pcr/kurso/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/kurso/PKGBUILD b/pcr/kurso/PKGBUILD
new file mode 100644
index 000000000..f388fec94
--- /dev/null
+++ b/pcr/kurso/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+
+pkgname=kurso
+pkgver=4.1.2
+pkgrel=1
+pkgdesc="Kurso de Esperanto is a multimedia computer program for teaching yourself Esperanto."
+arch=(i686 x86_64)
+url="http://www.kurso.com.br/index.php?en"
+license=('GPL3')
+makedepends=('qt4' 'phonon' 'phonon-qt4-gstreamer' 'libxext' 'gcc')
+source=("http://kurso.com.br/kurso4_source.tar.gz")
+sha512sums=('3c4b0d5ac87d30df4367da22c264c895f4c1f587ad07fa7fc174550944b3273d5bd2550662027404876c48ef7854663c1fa61cf1d3c361bc855503b86b57cea8')
+
+#prepare() {
+#cd $srcdir/kurso4
+##sed -i 's|QT += core gui phonon multimedia|QT += core gui Phonon|' kurso4.pro
+## General cleanup patch for hardcoded and depreciated use of /usr/local in the source. We need to use /usr.
+#}
+
+build() {
+ cd $srcdir/kurso4
+ make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 \
+ DOC_PATH="\\\"/usr/share/doc/kurso4\\\"" \
+ QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
+}
+
+package() {
+ cd $srcdir/kurso4
+ install -D -m644 kurso4 "$pkgdir"/usr/bin/kurso4
+}