summaryrefslogtreecommitdiff
path: root/pcr/kurso/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/kurso/PKGBUILD')
-rw-r--r--pcr/kurso/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/pcr/kurso/PKGBUILD b/pcr/kurso/PKGBUILD
index f388fec94..1d14df679 100644
--- a/pcr/kurso/PKGBUILD
+++ b/pcr/kurso/PKGBUILD
@@ -8,18 +8,15 @@ 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.
-#}
+source=("http://kurso.com.br/kurso4_source.tar.gz"
+"https://www.gnu.org/licenses/gpl-3.0.txt")
+sha512sums=('3c4b0d5ac87d30df4367da22c264c895f4c1f587ad07fa7fc174550944b3273d5bd2550662027404876c48ef7854663c1fa61cf1d3c361bc855503b86b57cea8'
+ '7633623b66b5e686bb94dd96a7cdb5a7e5ee00e87004fab416a5610d59c62badaf512a2e26e34e2455b7ed6b76690d2cd47464836d7d85d78b51d50f7e933d5c')
build() {
cd $srcdir/kurso4
- make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 \
+qmake-qt4
+make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 \
DOC_PATH="\\\"/usr/share/doc/kurso4\\\"" \
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
}
@@ -27,4 +24,7 @@ build() {
package() {
cd $srcdir/kurso4
install -D -m644 kurso4 "$pkgdir"/usr/bin/kurso4
+ echo "Per found source code references src/kurso4/ui_kurso.h:1620 and src/kurso4/kurso.ui:2397, we are installing GPLv3..."
+ cd $srcdir
+ install -D -m644 gpl-3.0.txt "$pkgdir"/usr/share/licenses/kurso
}