summaryrefslogtreecommitdiff
path: root/pcr-testing/lbreakouthd
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/lbreakouthd')
-rw-r--r--pcr-testing/lbreakouthd/PKGBUILD44
-rw-r--r--pcr-testing/lbreakouthd/lbreakouthd.desktop10
-rw-r--r--pcr-testing/lbreakouthd/lbreakouthd.pngbin0 -> 1930 bytes
3 files changed, 54 insertions, 0 deletions
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 <freemor@freemor.ca>
+# Contributor (Arch): Giovanni Scafora <giovanni@archlinux.org>
+# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
+
+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
--- /dev/null
+++ b/pcr-testing/lbreakouthd/lbreakouthd.png
Binary files differ