mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=frozen-bubble
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
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=('sdl_perl' 'sdl_mixer' 'perl-locale-gettext' 'sdl_pango')
|
|
options=('!emptydirs')
|
|
source=(http://www.frozen-bubble.org/data/${pkgname}-${pkgver}.tar.bz2 \
|
|
frozen-bubble.desktop)
|
|
md5sums=('f7987201470d6755ed309762d348e0dd' '3e0755836580e374e0911653f8cd33e2')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make OPTIMIZE="${CFLAGS}" \
|
|
CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
|
|
PREFIX=/usr || return 1
|
|
|
|
make DESTDIR=${pkgdir} PREFIX=/usr install || return 1
|
|
install -D -m644 icons/frozen-bubble-icon-64x64.png ${pkgdir}/usr/share/pixmaps/frozen-bubble.png || return 1
|
|
install -D -m644 ${srcdir}/frozen-bubble.desktop ${pkgdir}/usr/share/applications/frozen-bubble.desktop || return 1
|
|
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|