summaryrefslogtreecommitdiff
path: root/community/abuse/PKGBUILD
blob: 705a4c446fc0665ae2ee3615dc156ede448d533a (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
# $Id: PKGBUILD 46622 2011-05-10 10:00:25Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: jlvsimoes <jlvsimoes@oninet.pt>
# Contributor: kevin <kevin@archlinux.org>

pkgname=abuse
pkgver=0.8
pkgrel=1
pkgdesc='A side-scroller action game that pits you against ruthless alien killers.'
arch=('i686' 'x86_64')
url='http://abuse.zoy.org/'
license=('GPL' 'custom')
depends=('gcc-libs' 'libgl' 'sdl' 'sdl_mixer')
install='abuse.install'
source=("http://abuse.zoy.org/raw-attachment/wiki/download/${pkgname}-${pkgver}.tar.gz")
md5sums=('ec678b8dc8d00e0382d8c805c6438489')
>>>>>>> 8867b1d4d0601b21618d44d015460739590ca01d

build() {
  cd "${srcdir}/abuse-${pkgver}"

  ./configure --prefix=/usr --with-assetdir=/usr/share/abuse/orig --with-x
  make
}

package() {
  cd "${srcdir}/abuse-${pkgver}"

  make DESTDIR="${pkgdir}" install

  install -d "${pkgdir}/usr/share/licenses/abuse"
  sed -n '1,/^$/p' src/view.cpp > "${pkgdir}/usr/share/licenses/abuse/orig.code.license"
}