updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / rocksndiamonds-fedora / PKGBUILD
blob37a3e8cbff6c51bf48eec336a0246155f03f37fc
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
4 pkgname=rocksndiamonds-fedora
5 pkgver=3.3.0.1
6 _pkgrel=3
7 pkgrel=1
8 pkgdesc="Arcade style game in the tradition of Boulder Dash.  Fedora version."
9 arch=('i686' 'x86_64')
10 url="https://admin.fedoraproject.org/pkgdb/acls/name/rocksndiamonds"
11 license=('GPL')
12 depends=('sdl_mixer' 'sdl_net' 'sdl_image' 'gcc-libs')
13 makedepends=('rpmextract')
14 conflicts=('rocksndiamonds')
15 replaces=('rocksndiamonds-fedora-32' 'rocksndiamonds-fedora-64')
16 if [ "$CARCH" = "x86_64" ]; then
17         source=(http://kojipkgs.fedoraproject.org/packages/rocksndiamonds/${pkgver}/3.fc16/x86_64/rocksndiamonds-${pkgver}-${_pkgrel}.fc16.x86_64.rpm)
18         md5sums=('dde55d447008d5d66fa427653707a4c3')
19 else
20         source=(http://kojipkgs.fedoraproject.org/packages/rocksndiamonds/${pkgver}/3.fc16/i686/rocksndiamonds-${pkgver}-${_pkgrel}.fc16.i686.rpm)
21         md5sums=('d373598ebe113e2c2ef61072a17dbbf4')
23 build() {
24   [ "$CARCH" = "i686" ] && rpmextract.sh $srcdir/rocksndiamonds-${pkgver}-${_pkgrel}.fc16.i686.rpm
25   [ "$CARCH" = "x86_64" ] && rpmextract.sh $srcdir/rocksndiamonds-${pkgver}-${_pkgrel}.fc16.x86_64.rpm
26   cp -R $srcdir/usr $pkgdir