diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/kurso/PKGBUILD | 30 |
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 +} |