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