# Maintainer: Antoni Aloy pkgname=lbreakout2 pkgver=2.6.5 pkgrel=2 pkgdesc="Ball-and-paddle game with nice graphics" url="https://lgames.sourceforge.io/LBreakout2/" arch="all" license="GPL-2.0-or-later" # lbreakout2 needs sdl_net (optional) for multiplayer network on non-Unix systems # However, this package does not exist in Alpine repositories and its use has been deprecated makedepends="sdl12-compat-dev sdl_mixer-dev libpng-dev" subpackages="$pkgname-doc" source="https://prdownloads.sourceforge.net/lgames/lbreakout2-$pkgver.tar.gz" options="!check" # No test suite prepare() { default_prepare update_config_guess update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --localstatedir=/var/lbreakout2 \ --prefix=/usr \ --disable-nls make } package() { make DESTDIR="$pkgdir" install install -Dm644 lbreakout2.desktop \ "$pkgdir"/usr/share/applications/lbreakout2.desktop install -Dm644 lbreakout32.gif \ "$pkgdir"/usr/share/icons/hicolor/32x32/apps/lbreakout32.gif install -Dm644 lbreakout48.gif \ "$pkgdir"/usr/share/icons/hicolor/48x48/apps/lbreakout48.gif } sha512sums=" 45c54bc9401131c96eba5fdcc08ca1324904fb50d3967acf7f29034045cbcd4c1d0b65f38eb33d8aace4cfe35f2a2e7a6c2319e4a6d6a1b41274dbe293a1747b lbreakout2-2.6.5.tar.gz "