1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
4 pkgname=rocksndiamonds-fedora
8 pkgdesc="Arcade style game in the tradition of Boulder Dash. Fedora version."
10 url="https://admin.fedoraproject.org/pkgdb/acls/name/rocksndiamonds"
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')
20 source=(http://kojipkgs.fedoraproject.org/packages/rocksndiamonds/${pkgver}/3.fc16/i686/rocksndiamonds-${pkgver}-${_pkgrel}.fc16.i686.rpm)
21 md5sums=('d373598ebe113e2c2ef61072a17dbbf4')
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