blob: ee93c4c3c00c7b71f2929f13c580fe0454f607ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 {} \;
}
|