PageRenderTime 65ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/rolisteam/PKGBUILD

https://bitbucket.org/axil42/aur-mirror
#! | 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
  1. # Contributor: Eric Forgeot < http://anamnese.online.fr >
  2. pkgname=rolisteam
  3. pkgver=1.5.2
  4. pkgrel=2
  5. pkgdesc="An online role game playing software."
  6. arch=(i686 x86_64)
  7. url="http://www.rolisteam.org"
  8. license=('GPL')
  9. depends=('qt' 'phonon')
  10. source=(http://rolisteam.googlecode.com/files/${pkgname}_${pkgver}.tar.gz)
  11. md5sums=('0ff6b60848bda1513a4f592d9266002e')
  12. build() {
  13. # start compilation
  14. cd $srcdir/${pkgname}_${pkgver}/traduction
  15. lrelease *.ts
  16. cd $srcdir/${pkgname}_${pkgver}
  17. sed -i -e "s|setupUi();||g" src/LecteurAudio.cpp
  18. sed -i -e "s|SLOT(onfinished()));|SLOT(onfinished()));\nsetupUi();\n|g" src/LecteurAudio.cpp
  19. qmake
  20. make || return 1
  21. # prepare folders for installation
  22. mkdir -p $pkgdir/usr/bin
  23. mkdir -p $pkgdir/usr/share/applications
  24. # mkdir -p $pkgdir/usr/share/pixmaps
  25. cp $srcdir/${pkgname}_${pkgver}/bin/rolisteam $pkgdir/usr/bin/
  26. install -D -m644 ../../${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
  27. }