summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c473f2f8b7cee4e201f5aeaacbcfcf04277bb70 (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
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Giovanni Cucca <giovanni.cucca@gmail.com>
# Contributor: Dany Martineau <dany.luc.martineau gmail.com>
# Contributor: frsfnrrg

pkgname=trackballs
pkgver=1.3.4
pkgrel=1
pkgdesc="Simple game similar to the classical game Marble Madness on the Amiga in the 80's"
arch=('i686' 'x86_64')
license=('GPL')
url="https://trackballs.github.io/"
install=trackballs.install
depends=('guile' 'sdl2_ttf' 'sdl2_image' 'sdl2_mixer' 'hicolor-icon-theme' 'gettext')
replaces=(trackballs-music)
source=(https://github.com/trackballs/trackballs/archive/v${pkgver}.tar.gz)

build() {
  cd ${srcdir}/$pkgname-$pkgver
  [ ! -d build ] && mkdir build
  cd build
  cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
}

package() {
  cd ${srcdir}/$pkgname-$pkgver/build
  make DESTDIR=${pkgdir} install
}
md5sums=('f6508956edfb14fde500f1adf272bdcf')