summaryrefslogtreecommitdiff
path: root/community/freedroid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freedroid/PKGBUILD')
-rw-r--r--community/freedroid/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/freedroid/PKGBUILD b/community/freedroid/PKGBUILD
new file mode 100644
index 000000000..ee93c4c3c
--- /dev/null
+++ b/community/freedroid/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 65289 2012-02-20 15:20:33Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=freedroid
+pkgver=1.0.2
+pkgrel=8
+pkgdesc="a clone of the classic game 'Paradroid' on Commodore 64"
+arch=('i686' 'x86_64')
+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/man
+ 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
+ rm -rf $pkgdir/usr/share/freedroid/freedroid.6
+ 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 {} \;
+}