summaryrefslogtreecommitdiff
path: root/community/freedroid/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freedroid/PKGBUILD')
-rw-r--r--community/freedroid/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/community/freedroid/PKGBUILD b/community/freedroid/PKGBUILD
index 5ec2ccc3c..cb0fb2e7b 100644
--- a/community/freedroid/PKGBUILD
+++ b/community/freedroid/PKGBUILD
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD 5262 2009-11-07 12:52:52Z ibiru $
+# $Id: PKGBUILD 54653 2011-08-22 14:49:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=freedroid
pkgver=1.0.2
-pkgrel=4
-pkgdesc="Freedroid is a clone of the classic game "Paradroid" on Commodore 64 with some improvements and extensions to the classic version."
+pkgrel=5
+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)
-md5sums=('585a65f61c2cd308ab45d5c514f695dc')
+source=(http://downloads.sourceforge.net/sourceforge/freedroid/$pkgname-$pkgver.tar.gz
+ freedroid.desktop
+ paraicon.png)
+md5sums=('585a65f61c2cd308ab45d5c514f695dc'
+ 'e4a34f00f1cd983331999022569f2b57'
+ '68a11e92695978a9aac58cc21a4899db')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share
- make || return 1
- make DESTDIR=$startdir/pkg install
+ 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
}