blob: 038850c2bf70f70dc2fd301fbd199fe3ca132cd6 (
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
|
# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch>
# Contributor: Frederic Bezies < fredbezies at gmail dot com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Christoph Zeiler <rabyte*gmail>
# Contributor: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=penguin-command
pkgver=1.6.11
pkgrel=4
pkgdesc="A clone of the classic Missile Command game with improved graphics and sound"
arch=('i686' 'x86_64' 'aarch64')
url="http://www.linux-games.com/penguin-command/"
license=('GPL')
depends=('sdl_image' 'sdl_mixer')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"${pkgname}.desktop"
"config.guess.patch")
md5sums=('4dcf0073d62f28e47af18a922a1badc3'
'f7602eba82c14ddbeb76f7da89c78044'
'1bcf77f66079f48f7f37a35a64ac79ab')
prepare() {
patch "${srcdir}/${pkgname}-${pkgver}/config.guess" < "${startdir}/config.guess.patch"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Install a desktop entry
install -Dm644 data/gfx/20explo.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 ../${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|