# Maintainer: Jose Riha # Contributor: Giovanni Cucca # Contributor: Dany Martineau # 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')