1 # just because AUR upload doesn't like ".pkg.tar.xz"
7 pkgdesc="multi boot compliant game for i386 and compatible x86_64."
9 url="http://www.erikyyy.de/invaders/"
13 source=("http://www.erikyyy.de/invaders/invaders-${pkgver}.tar.gz"
14 "gcc+binutils_bugfix.patch"
16 md5sums=('c5efef690f8c7f3c667cabb696528ab9'
17 'f9b0d13dbe575e55b2fa7eeb6832bcfa'
18 '9a7d938762b4d8a2045d53b7f3b86a7f')
19 install=${pkgname}.install
23 patch -Np0 -i "gcc+binutils_bugfix.patch" || return 1
24 [ "$CARCH" = "x86_64" ] && patch -Np0 -i "x86_64envfix.patch" || return 1
28 install -m644 -D ${srcdir}/invaders/invaders ${pkgdir}/boot/${pkgname}/invaders.bin