/rolisteam/PKGBUILD
#! | 33 lines | 27 code | 6 blank | 0 comment | 0 complexity | 2a35ccad1385c272472b579072653173 MD5 | raw file
Possible License(s): IPL-1.0, Apache-2.0, LGPL-2.0, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1, JSON, GPL-3.0, MPL-2.0, CC0-1.0, CC-BY-SA-3.0, LGPL-3.0, WTFPL, BSD-2-Clause, 0BSD, BitTorrent-1.0, Cube, EPL-1.0, ISC, BSD-3-Clause, AGPL-3.0, GPL-2.0, MIT, AGPL-1.0, CC-BY-3.0
- # Contributor: Eric Forgeot < http://anamnese.online.fr >
- pkgname=rolisteam
- pkgver=1.5.2
- pkgrel=2
- pkgdesc="An online role game playing software."
- arch=(i686 x86_64)
- url="http://www.rolisteam.org"
- license=('GPL')
- depends=('qt' 'phonon')
- source=(http://rolisteam.googlecode.com/files/${pkgname}_${pkgver}.tar.gz)
- md5sums=('0ff6b60848bda1513a4f592d9266002e')
- build() {
- # start compilation
- cd $srcdir/${pkgname}_${pkgver}/traduction
- lrelease *.ts
- cd $srcdir/${pkgname}_${pkgver}
- sed -i -e "s|setupUi();||g" src/LecteurAudio.cpp
- sed -i -e "s|SLOT(onfinished()));|SLOT(onfinished()));\nsetupUi();\n|g" src/LecteurAudio.cpp
- qmake
- make || return 1
-
- # prepare folders for installation
- mkdir -p $pkgdir/usr/bin
- mkdir -p $pkgdir/usr/share/applications
- # mkdir -p $pkgdir/usr/share/pixmaps
- cp $srcdir/${pkgname}_${pkgver}/bin/rolisteam $pkgdir/usr/bin/
-
- install -D -m644 ../../${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
-
- }