summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab7984ca37d4ee53f93e908a2c99cce19081c963 (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
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: TDY <tdy@gmx.com>
# Contributor: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>

pkgname=xgalaga++
pkgver=0.9
pkgrel=1
pkgdesc="A classic shoot 'em up arcade game inspired by XGalaga"
arch=('i686' 'x86_64')
url="http://marc.mongenet.ch/OSS/XGalaga/"
license=('GPL')
depends=('libxpm')
source=(http://marc.mongenet.ch/OSS/XGalaga/${pkgname}_$pkgver.tar.gz
        $pkgname-$pkgver.diff)
md5sums=('376e7c43dc19e0f3f9a4cf1a7cb32695'
         'f97899df70b479053bcc0b9714458fdd')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -Np1 -i ../$pkgname-$pkgver.diff
}

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make all
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}