summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd9b53cdb29..2c1722b5751 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Mar 19 18:51:35 UTC 2016
pkgbase = briquolo
- pkgdesc = An addictive block game
+ pkgdesc = Breakout game with 3D representation based on OpenGL.
pkgver = 0.5.7
- pkgrel = 5
+ pkgrel = 6
url = http://briquolo.free.fr/
install = briquolo.install
arch = i686
@@ -11,11 +13,8 @@ pkgbase = briquolo
makedepends = autoconf
makedepends = automake
makedepends = cvs
- depends = sdl
depends = sdl_mixer
- depends = libpng
depends = sdl_ttf
- depends = mesa
depends = desktop-file-utils
depends = glu
options = !makeflags
diff --git a/PKGBUILD b/PKGBUILD
index 9343605b4ec..a4c9389e668 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
-# Maintainer:
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Liberion <liberion[at]gmail[.]com> patch libpng compile
+# Maintainer: SanskritFritz (gmail)
pkgname=briquolo
pkgver=0.5.7
-pkgrel=5
-pkgdesc="An addictive block game"
+pkgrel=6
+pkgdesc="Breakout game with 3D representation based on OpenGL."
arch=('i686' 'x86_64')
url="http://briquolo.free.fr/"
license=('GPL')
-depends=('sdl' 'sdl_mixer' 'libpng' 'sdl_ttf' 'mesa' 'desktop-file-utils' 'glu')
+depends=('sdl_mixer' 'sdl_ttf' 'desktop-file-utils' 'glu')
makedepends=('patch' 'autoconf' 'automake' 'cvs')
install=$pkgname.install
options=('!makeflags')
@@ -28,9 +28,6 @@ prepare() {
patch -Np0 -i "${srcdir}"/$pkgname-gcc.patch
# Fixes libpng compilation problem
patch -Np1 -i "${srcdir}"/$pkgname-libpng.patch
-# Fix for buggy Makefile - give it a desktop file to process
- install -Dm644 "${srcdir}"/$pkgname.desktop \
- "${pkgdir}"/usr/share/applications/$pkgname.desktop
}
build() {
@@ -43,16 +40,16 @@ build() {
package() {
cd "${srcdir}"/$pkgname-$pkgver
+# Fix for buggy Makefile - give it a desktop file to process
+ install -Dm644 "${srcdir}"/$pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
+
make prefix="${pkgdir}"/usr install
# make DESTDIR="${pkgdir}" install
# Icons
- install -Dm644 "${srcdir}"/$pkgname-$pkgver/desktop/$pkgname.svg \
- "${pkgdir}"/usr/share/pixmaps/$pkgname.svg
- install -Dm644 $pkgname.png \
- "${pkgdir}"/usr/share/pixmaps/$pkgname.png
+ install -Dm644 "$srcdir/$pkgname-$pkgver/desktop/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
+ install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
# Force usage of correct desktop entry
- install -Dm644 $pkgname.desktop \
- "${pkgdir}"/usr/share/applications/$pkgname.desktop
+ install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir"/usr/share/applications/$pkgname.desktop
}