updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / rolisteam / PKGBUILD
blob039f6b419d0b7e866b14aa045abc2030c609349d
1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
2 pkgname=rolisteam
3 pkgver=1.5.0
4 pkgrel=1
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=('dbc27fef431a5892923d90fd1f683838')
13 build() {
14         # start compilation
15         cd $srcdir/${pkgname}/traduction
16         lrelease *.ts
17         cd $srcdir/${pkgname} 
18         qmake 
19         make || return 1
20   
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
26         cp $srcdir/${pkgname}/bin/rolisteam  $pkgdir/usr/bin/
27         
28         install -D -m644 ../../${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
29         
30