diff options
author | root <root@rshg047.dnsready.net> | 2011-05-25 22:48:05 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-25 22:48:05 +0000 |
commit | 6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (patch) | |
tree | 5a27309f3fe126e49f5a2f08f08b2526bc8d4dc2 /staging/frozen-bubble | |
parent | 363d953113a327863013a9422c8212654a86a209 (diff) |
Wed May 25 22:48:05 UTC 2011
Diffstat (limited to 'staging/frozen-bubble')
-rw-r--r-- | staging/frozen-bubble/PKGBUILD | 36 | ||||
-rw-r--r-- | staging/frozen-bubble/frozen-bubble.desktop | 9 |
2 files changed, 45 insertions, 0 deletions
diff --git a/staging/frozen-bubble/PKGBUILD b/staging/frozen-bubble/PKGBUILD new file mode 100644 index 000000000..eac81509b --- /dev/null +++ b/staging/frozen-bubble/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 124828 2011-05-24 16:19:16Z heftig $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Brandon Niemczyk <maccorin@cfl.rr.com> + +pkgname=frozen-bubble +_pkgver=2.2.1-beta1 +pkgver=${_pkgver/-/} +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" +license=(GPL2) +depends=(perl-sdl perl-ipc-system-simple perl-compress-bzip2 perl-file-which) +makedepends=(perl-file-slurp perl-locale-maketext-lexicon) +options=('!emptydirs') +source=(http://www.frozen-bubble.org/data/$pkgname-$_pkgver.tar.bz2 \ + frozen-bubble.desktop) +md5sums=('825cc23ed806838b9d86de9982a5687a' + '01b10b77ba6ad856f5c199121c582272') + +package() { + cd "$srcdir/$pkgname-$_pkgver" + + # gcc bug? + CFLAGS+=" -Doff64_t=__off64_t" + + # install module in vendor directories + perl Build.PL installdirs=vendor destdir="$pkgdir" + + perl Build + perl Build install + + 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" +} diff --git a/staging/frozen-bubble/frozen-bubble.desktop b/staging/frozen-bubble/frozen-bubble.desktop new file mode 100644 index 000000000..76a7bcd88 --- /dev/null +++ b/staging/frozen-bubble/frozen-bubble.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Frozen Bubble +Icon=frozen-bubble.png +Exec=/usr/bin/vendor_perl/frozen-bubble +Terminal=false +Categories=Game; |