blob: 6bed0234c365efa58fc19f472b79ce89ae67d127 (
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
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Simon Bachmann <simonbachmann@freesurf.ch>
# Contributor: Anton Larionov <diffident dot cat at gmail dot com>
# Maintainer: SanskritFritz (gmail)
pkgname=mirrormagic-bin
_pkgname=mirrormagic
pkgver=2.0.2
pkgrel=1
pkgdesc="Arcade style game like Deflektor (C64) or Mindbender (Amiga)."
arch=('i686' 'x86_64')
url="http://www.artsoft.org/mirrormagic/"
license=('GPL2')
depends=('sdl_image' 'sdl_mixer')
provides=('mirrormagic')
replaces=('mirrormagic')
source=("http://www.artsoft.org/RELEASES/unix/mirrormagic/$_pkgname-$pkgver.tar.gz"
"$_pkgname.sh"
"mirrormagic.desktop")
md5sums=('32fd3909c1e27f493d89bc2276da6744'
'7ba2849d0c79415dabc3068ca9d7b5ba'
'64ebdbe659a2fd5efd3979350cf9bbec')
package() {
cd "$_pkgname-$pkgver"
# copy main files
install -dm755 "$pkgdir/usr/share/$_pkgname"
cp -r * "$pkgdir/usr/share/$_pkgname"
install -D -m755 "$srcdir/$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
# install desktop entry file
install -D -m644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
# fix permissions
cd "$pkgdir/usr/share/$_pkgname/"
find . -type f -exec chmod 644 {} \;
chmod 755 $_pkgname
}
# vim:set ts=2 sw=2 et:
|