diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/lbreakout2 | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/lbreakout2')
-rw-r--r-- | community/lbreakout2/PKGBUILD | 44 | ||||
-rw-r--r-- | community/lbreakout2/lbreakout2.desktop | 10 | ||||
-rw-r--r-- | community/lbreakout2/lbreakout2.png | bin | 0 -> 1930 bytes |
3 files changed, 54 insertions, 0 deletions
diff --git a/community/lbreakout2/PKGBUILD b/community/lbreakout2/PKGBUILD new file mode 100644 index 000000000..8b3a71a21 --- /dev/null +++ b/community/lbreakout2/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 102169 2013-12-06 11:49:11Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=lbreakout2 +pkgver=2.6.4 +pkgrel=2 +pkgdesc="A breakout game with nice effects, graphics, and sounds" +arch=('i686' 'x86_64') +url="http://lgames.sourceforge.net" +license=('GPL') +depends=('sdl_mixer' 'libpng') +backup=('var/games/lbreakout2/lbreakout2.hscr') +source=("http://downloads.sourceforge.net/lgames/${pkgname}-${pkgver/_/-}.tar.gz" + 'lbreakout2.desktop' + 'lbreakout2.png') +md5sums=('4849af72225a304267eb71a9c100cd48' + '14cd34a72a8f4e3b8f385f9023625241' + '94e2fa393eb2a7d4494641dec580573b') + +build() { + cd ${srcdir}/${pkgname}-${pkgver/_/-} + + ./configure --prefix=/usr \ + --localstatedir=/var/games/lbreakout2 + 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/lbreakout2 + chmod 755 ${pkgdir}/var/games/lbreakout2 + chown root:games ${pkgdir}/var/games/lbreakout2/lbreakout2.hscr + chmod 775 ${pkgdir}/var/games/lbreakout2/lbreakout2.hscr + + install -Dm644 ${srcdir}/lbreakout2.png ${pkgdir}/usr/share/pixmaps/lbreakout2.png + install -Dm644 ${srcdir}/lbreakout2.desktop ${pkgdir}/usr/share/applications/lbreakout2.desktop +} diff --git a/community/lbreakout2/lbreakout2.desktop b/community/lbreakout2/lbreakout2.desktop new file mode 100644 index 000000000..c8ef945da --- /dev/null +++ b/community/lbreakout2/lbreakout2.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Linux Breakout 2 +Comment=Breakout and Arkanoid style arcade game +Icon=/usr/share/pixmaps/lbreakout2.png +TryExec=lbreakout2 +Exec=lbreakout2 +Terminal=false +Categories=Application;Game; diff --git a/community/lbreakout2/lbreakout2.png b/community/lbreakout2/lbreakout2.png Binary files differnew file mode 100644 index 000000000..f9541e184 --- /dev/null +++ b/community/lbreakout2/lbreakout2.png |