updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / rrgbis / PKGBUILD
blob8cdaad87d606f398317646a5600e70071492d428
1 # Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
2 # Maintainer: Ivan Dimitrov <madcat87@gmail.com>
3 pkgname=rrgbis
4 pkgver=1.13
5 pkgrel=1
6 arch=('i686')
7 license=('GPL')
8 pkgdesc="Really Rather Good Battles In Space"
9 url="http://rrgbis.sourceforge.net/"
10 source=(http://downloads.sourceforge.net/rrgbis/$pkgname-$pkgver-src.tar.bz2 http://downloads.sourceforge.net/rrgbis/$pkgname-$pkgver-data.tar.bz2)
11 depends=("sdl" "sdl_image" "sdl_mixer" "freetype2" "gcc-libs")
12 #md5sums=("14396c77f2b68cf2e5104174c135f4e4" "abd55dc67686ac99e96f9db2e59b5981")
13 build() {
14  cd $startdir/src/rrgbis/src/FTGL
15  ./configure
16  cd $startdir/src/rrgbis
17  make || return 1
18  mkdir -p $startdir/pkg/usr/share/applications
19  mkdir -p $startdir/pkg/usr/bin
20  mkdir -p $startdir/pkg/usr/share/icons
21  cp -R $startdir/src/rrgbis $startdir/pkg/usr/share
22  rm -rf $startdir/pkg/usr/share/rrgbis/src
23  cp $startdir/pkg/usr/share/rrgbis/rrgbis.png $startdir/pkg/usr/share/icons/rrgbis.png
24  cp $startdir/pkg/usr/share/rrgbis/rrgbis.desktop $startdir/pkg/usr/share/applications/rrgbis.desktop
25  cp $startdir/rrgbis.sh $startdir/pkg/usr/bin/rrgbis
26  chmod 755 $startdir/pkg/usr/bin/rrgbis