# Maintainer (arch): Ronald van Haren <ronald.archlinux.org>
# Contributor: Eric Belanger <eric.archlinux.org>
# Contributor: Fabio Scotoni <CCuleX.gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

# parabola changes and rationale:
#  no changes.

pkgname=extremetuxracer
pkgver=0.8.0
pkgrel=1
pkgdesc="Downhill racing game starring Tux"
arch=('armv7h')
url="https://sourceforge.net/projects/extremetuxracer/"
license=('GPL')
depends=('sfml' 'glu' 'freetype2')
makedepends=('csfml')
conflicts=('ppracer' 'etracer')
replaces=('ppracer' 'etracer')
source=("https://downloads.sourceforge.net/${pkgname}/etr-${pkgver}.tar.xz")
sha256sums=('4b2899314eda8d0826504ab274acb13ab0dab58b6d0641587749dfa77757da17')

build() {
  cd "${srcdir}/etr-${pkgver}"
  ./configure --prefix=/usr
  make
}

check() {
  cd "${srcdir}/etr-${pkgver}"
  make check
}

package() {
  cd "${srcdir}/etr-${pkgver}"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et:
