diff options
Diffstat (limited to 'pcr-testing/lbreakouthd/PKGBUILD')
-rw-r--r-- | pcr-testing/lbreakouthd/PKGBUILD | 44 |
1 files changed, 44 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 +} |