From 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Jun 2011 23:10:39 +0000 Subject: Wed Jun 29 23:10:38 UTC 2011 --- extra/frozen-bubble/PKGBUILD | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'extra/frozen-bubble') diff --git a/extra/frozen-bubble/PKGBUILD b/extra/frozen-bubble/PKGBUILD index 883852aa4..fb21cbd21 100644 --- a/extra/frozen-bubble/PKGBUILD +++ b/extra/frozen-bubble/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 112696 2011-03-06 00:54:34Z heftig $ +# $Id: PKGBUILD 127529 2011-06-15 21:23:24Z remy $ # Maintainer: Jan "heftig" Steffens # Contributor: Allan McRae # Contributor: Brandon Niemczyk @@ -6,7 +6,7 @@ pkgname=frozen-bubble _pkgver=2.2.1-beta1 pkgver=${_pkgver/-/} -pkgrel=1 +pkgrel=3 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" @@ -19,13 +19,22 @@ source=(http://www.frozen-bubble.org/data/$pkgname-$_pkgver.tar.bz2 \ md5sums=('825cc23ed806838b9d86de9982a5687a' '01b10b77ba6ad856f5c199121c582272') -package() { +build() { cd "$srcdir/$pkgname-$_pkgver" + unset CFLAGS # install module in vendor directories - perl Build.PL installdirs=vendor destdir="$pkgdir" - + perl Build.PL installdirs=vendor perl Build - perl Build install +} + +check() { + cd "$srcdir/$pkgname-$_pkgver" + perl Build test +} + +package() { + cd "$srcdir/$pkgname-$_pkgver" + perl Build install destdir="$pkgdir" install -D -m644 share/icons/frozen-bubble-icon-64x64.png "$pkgdir/usr/share/pixmaps/frozen-bubble.png" install -D -m644 "$srcdir/frozen-bubble.desktop" "$pkgdir/usr/share/applications/frozen-bubble.desktop" -- cgit v1.2.3-54-g00ecf