# $Id: PKGBUILD 65021 2012-02-20 01:59:37Z spupykin $ # Maintainer: Sergej Pupykin pkgname=freedroid pkgver=1.0.2 pkgrel=6 pkgdesc="a clone of the classic game 'Paradroid' on Commodore 64" arch=('i686' 'x86_64' 'mips64el') url="http://freedroid.sourceforge.net/" license=('GPL') depends=('glibc' 'sdl_image' 'sdl_mixer') source=(http://downloads.sourceforge.net/sourceforge/freedroid/$pkgname-$pkgver.tar.gz freedroid.desktop paraicon.png) md5sums=('585a65f61c2cd308ab45d5c514f695dc' 'e4a34f00f1cd983331999022569f2b57' '68a11e92695978a9aac58cc21a4899db') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --mandir=/usr/share make make DESTDIR=$pkgdir install install -Dm0644 $srcdir/paraicon.png $pkgdir/usr/share/icons/paraicon.png install -Dm0644 $srcdir/freedroid.desktop $pkgdir/usr/share/applications/freedroid.desktop rm -rf $pkgdir/usr/share/freedroid/mac-osx find $pkgdir/usr/share/freedroid -type f -name Makefile -exec rm -f {} \; find $pkgdir/usr/share/freedroid -type f -name Makefile.in -exec rm -f {} \; find $pkgdir/usr/share/freedroid -type f -name Makefile.am -exec rm -f {} \; }