From 2f1280fbdfaf6c7586e9062802b0c3e1e29415da Mon Sep 17 00:00:00 2001 From: Freemor Date: Sun, 28 Apr 2019 15:06:09 -0300 Subject: Add lbreakouthd because lbreakout2 is broken and my not get fixed (discontinued?) --- pcr-testing/lbreakouthd/PKGBUILD | 44 ++++++++++++++++++++++++++++ pcr-testing/lbreakouthd/lbreakouthd.desktop | 10 +++++++ pcr-testing/lbreakouthd/lbreakouthd.png | Bin 0 -> 1930 bytes 3 files changed, 54 insertions(+) create mode 100644 pcr-testing/lbreakouthd/PKGBUILD create mode 100644 pcr-testing/lbreakouthd/lbreakouthd.desktop create mode 100644 pcr-testing/lbreakouthd/lbreakouthd.png (limited to 'pcr-testing/lbreakouthd') diff --git a/pcr-testing/lbreakouthd/PKGBUILD b/pcr-testing/lbreakouthd/PKGBUILD new file mode 100644 index 000000000..e7a83b7dc --- /dev/null +++ b/pcr-testing/lbreakouthd/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Freemor +# Contributor (Arch): Giovanni Scafora +# Contributor (Arch): Tom Newsom + +pkgname=lbreakouthd +pkgver=1.0.4 +pkgrel=1 +pkgdesc="A breakout game with nice effects, graphics, and sounds" +arch=('x86_64' 'i686' 'armv7h') +url="http://lgames.sourceforge.net" +license=('GPL') +depends=('sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'sdl2') +backup=('var/games/lbreakouthd/lbreakouthd.hscr') +source=("http://downloads.sourceforge.net/lgames/${pkgname}-${pkgver/_/-}.tar.gz" + 'lbreakouthd.desktop' + 'lbreakouthd.png') +md5sums=('579d0c667812f4412013a5665a36d9e9' + '95725d685d052c580a261797aad7b2cc' + '94e2fa393eb2a7d4494641dec580573b') + +build() { + cd ${srcdir}/${pkgname}-${pkgver/_/-} + + ./configure --prefix=/usr \ + --localstatedir=/var/games/lbreakouthd + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver/_/-} + + make DESTDIR=${pkgdir}/ doc_dir=/usr/share/doc install + + chmod -R 755 ${pkgdir}/usr + chown root:games ${pkgdir}/var/games + chmod 775 ${pkgdir}/var/games + chown root:games ${pkgdir}/var/games/lbreakouthd + chmod 755 ${pkgdir}/var/games/lbreakouthd + chown root:games ${pkgdir}/var/games/lbreakouthd/lbreakouthd.hscr + chmod 775 ${pkgdir}/var/games/lbreakouthd/lbreakouthd.hscr + + install -Dm644 ${srcdir}/lbreakouthd.png ${pkgdir}/usr/share/pixmaps/lbreakouthd.png + install -Dm644 ${srcdir}/lbreakouthd.desktop ${pkgdir}/usr/share/applications/lbreakouthd.desktop +} diff --git a/pcr-testing/lbreakouthd/lbreakouthd.desktop b/pcr-testing/lbreakouthd/lbreakouthd.desktop new file mode 100644 index 000000000..5f6f1bf4b --- /dev/null +++ b/pcr-testing/lbreakouthd/lbreakouthd.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Linux Breakout HD +Comment=Breakout and Arkanoid style arcade game +Icon=/usr/share/pixmaps/lbreakouthd.png +TryExec=lbreakouthd +Exec=lbreakouthd +Terminal=false +Categories=Application;Game; diff --git a/pcr-testing/lbreakouthd/lbreakouthd.png b/pcr-testing/lbreakouthd/lbreakouthd.png new file mode 100644 index 000000000..f9541e184 Binary files /dev/null and b/pcr-testing/lbreakouthd/lbreakouthd.png differ -- cgit v1.2.3