summaryrefslogtreecommitdiff
path: root/testing/frozen-bubble/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-16 22:59:30 +0000
committerroot <root@rshg047.dnsready.net>2011-06-16 22:59:30 +0000
commit1fcb176285908c33aca3b0f5cb703ec098e5440c (patch)
tree45be5519988f1ec96c9bc1a55e2ffcf5f5c62d26 /testing/frozen-bubble/PKGBUILD
parentebe74a263db3899367e12d936f908cdfdee7ec15 (diff)
Thu Jun 16 22:59:30 UTC 2011
Diffstat (limited to 'testing/frozen-bubble/PKGBUILD')
-rw-r--r--testing/frozen-bubble/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/testing/frozen-bubble/PKGBUILD b/testing/frozen-bubble/PKGBUILD
index eac81509b..fb21cbd21 100644
--- a/testing/frozen-bubble/PKGBUILD
+++ b/testing/frozen-bubble/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 124828 2011-05-24 16:19:16Z heftig $
+# $Id: PKGBUILD 127529 2011-06-15 21:23:24Z remy $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Brandon Niemczyk <maccorin@cfl.rr.com>
@@ -6,7 +6,7 @@
pkgname=frozen-bubble
_pkgver=2.2.1-beta1
pkgver=${_pkgver/-/}
-pkgrel=2
+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,17 +19,22 @@ source=(http://www.frozen-bubble.org/data/$pkgname-$_pkgver.tar.bz2 \
md5sums=('825cc23ed806838b9d86de9982a5687a'
'01b10b77ba6ad856f5c199121c582272')
-package() {
+build() {
cd "$srcdir/$pkgname-$_pkgver"
-
- # gcc bug?
- CFLAGS+=" -Doff64_t=__off64_t"
-
+ 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"