updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eleet / PKGBUILD
blob8479e980cdb284c42bbac164616277bddb825e5f
1 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
3 pkgname=eleet
4 pkgver=0.3.1
5 pkgrel=1
6 pkgdesc="A screensaver for use with Linux and UNIX, that pays homage to the classicspace trading game of Elite."
7 url="http://software.amiga-hardware.com/eleet.cgi"
8 license="GPL"
9 arch=('i686' 'x86_64')
10 depends=('sdl_ttf' 'xscreensaver' 'libgl')
11 makedepends=('make')
12 optdepends=('kdeartwork-kscreensaver' 'gnome-screensaver')
13 source=(http://software.amiga-hardware.com/software/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('31017a7f750452a1b74977fe66ab9047')
15 install=(eleet.install)
17 build() {
18           cd ${srcdir}/$pkgname-$pkgver
19           unset LDFLAGS
20           ./configure --prefix=/usr --x-includes=/usr/include/X11
21           make 
22           make DESTDIR=${pkgdir} install 
23           mkdir -p ${pkgdir}/usr/share/xscreensaver/config/
24           mkdir -p ${pkgdir}/usr/lib/xscreensaver
25           install xscreensaver/eleet.xml ${pkgdir}/usr/share/xscreensaver/config/
26           cp ${pkgdir}/usr/bin/eleet ${pkgdir}/usr/lib/xscreensaver
27         }