summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/frozen-bubble/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-12-11 01:30:53 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-12-11 01:30:53 (GMT)
commit8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f (patch)
tree99edff3d756441a12087ecd5053d9ca60536beff /abs/extra-testing/frozen-bubble/PKGBUILD
parente649efa24662af962e6cbd7b9ece1bdd8f6a9340 (diff)
downloadlinhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.zip
linhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.tar.gz
linhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.tar.bz2
Deps for emulators and Miro.
Diffstat (limited to 'abs/extra-testing/frozen-bubble/PKGBUILD')
-rw-r--r--abs/extra-testing/frozen-bubble/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra-testing/frozen-bubble/PKGBUILD b/abs/extra-testing/frozen-bubble/PKGBUILD
new file mode 100644
index 0000000..ca48827
--- /dev/null
+++ b/abs/extra-testing/frozen-bubble/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Contributer: Brandon Niemczyk <maccorin@cfl.rr.com>
+
+pkgname=frozen-bubble
+pkgver=2.1.0
+pkgrel=2
+pkgdesc="A game in which you throw colorful bubbles and build groups to destroy the bubbles"
+arch=(i686 x86_64)
+url="http://www.frozen-bubble.org"
+depends=('sdl_perl' 'sdl_mixer' 'perl-locale-gettext' 'sdl_pango')
+makedepends=('imagemagick')
+source=(http://www.frozen-bubble.org/data/${pkgname}-${pkgver}.tar.bz2 \
+ frozen-bubble.desktop)
+md5sums=('f5eb984897e1ccd52a0d8820d8359861' '3e0755836580e374e0911653f8cd33e2')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}/gfx/balls
+ # Fix missing files for colourblind
+ for g in bubble-colourblind-?.gif; do
+ convert -depth 8 -scale 16x16 ${g} ${g/%.gif/-mini.png}
+ done
+ cd ../..
+ make OPTIMIZE="${CFLAGS}" \
+ CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
+ PREFIX=/usr || return 1
+
+ make DESTDIR=${startdir}/pkg PREFIX=/usr install || return 1
+ install -D -m644 icons/frozen-bubble-icon-64x64.png ${startdir}/pkg/usr/share/pixmaps/frozen-bubble.png || return 1
+ install -D -m644 ${startdir}/src/frozen-bubble.desktop ${startdir}/pkg/usr/share/applications/frozen-bubble.desktop || return 1
+}