summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00fec9b3694b2ca4bd5dc50705f97c0ef1a2f916 (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.2
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=('85b128afca8b55d8e7ae02c21fa0427e')