updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / daimonin / PKGBUILD
bloba1352daafd0ff421ae1eab06ca3b3fa7edd5b40a
1 # Maintainer: elwin013 <kontakt AT elwin013 DOT com>
2 # Contributor: Jesses <jesse.jaara AT gmail DOT com>
3 # Contributor: robb_force <robb_force AT holybuffalo DOT net>
4 pkgname=daimonin
5 pkgver=0.10.5
6 pkgrel=6
7 pkgdesc="A free, open source, Massively Multiplayer Online Role-playing Game (MMORPG)."
8 arch=('i686' 'x86_64')
9 url="http://www.daimonin.org"
10 license=('GPL')
11 depends=('sdl_mixer' 'sdl_image' 'physfs' 'curl')
12 source=(http://sourceforge.net/projects/${pkgname}/files/Sources/client-${pkgver}.tar.gz/download \
13 ${pkgname}.desktop \
14 ${pkgname}.png \
15 Makefile.am \
16 Makefile.in \
17 daimonin)
18 md5sums=('6710398ad4360aebf600eb877bdad355'
19          'a910ade3a5c18cd9dd3fb156b4bea57a'
20          '7480f31868a20a4bce8fe940adc3c243'
21          'ae5d69ad02077c79a5a6dfc56f26ac46'
22          'ed395a742e2b8c303e333013b49e8fe5'
23          '2913d804914f0ca302149fa8f23281b1')
25 build() {
26   cp Makefile.am $srcdir/client/make/linux
27   cp Makefile.in $srcdir/client/make/linux
29   cd "$srcdir/client/make/linux"
30   ./bootstrap
31   ./configure --prefix=/usr/share
32   make
33   make DESTDIR="${pkgdir}" install
34   
35   cd ../../
36   mkdir -p $pkgdir/usr/share/licenses/$pkgname
37   install --mode=644 License $pkgdir/usr/share/licenses/$pkgname/License
38   install --mode=644 media/License\ Note $pkgdir/usr/share/licenses/$pkgname/License\ Note
39   install --mode=644 media/media.txt $pkgdir/usr/share/licenses/$pkgname/media.txt
40   
41   cd ../../
42   mkdir -p $pkgdir/usr/bin
43   install --mode=755 $pkgname $pkgdir/usr/bin/
44   mkdir $pkgdir/usr/share/applications
45   mkdir $pkgdir/usr/share/pixmaps
46   install --mode=644 $pkgname.desktop $pkgdir/usr/share/applications/
47   install --mode=644 $pkgname.png $pkgdir/usr/share/pixmaps/