1 # Contributor: Andrwe Lord Weber <lord-weber-andrwe at renona-studios dot org>
7 pkgdesc="A native linux non-ordinary puzzle game (Demo)"
9 url="http://www.gamerizon.com/"
12 depends=( 'libxdamage' 'mesa' 'xorg-utils' )
14 optdepends=( 'nvidia-utils: if you use nvida graphic cards' )
21 source=("http://c0550982.cdn.cloudfiles.rackspacecloud.com/${_tmpname}-demo_${pkgver}_i386.tar.gz" "quantz.desktop")
22 [ "$CARCH" == "x86_64" ] && source=("http://c0550982.cdn.cloudfiles.rackspacecloud.com/${_tmpname}-demo_${pkgver}_amd64.tar.gz" "quantz.desktop")
24 md5sums=('b90ac5cb04c4811d29cc97972ceac317'
25 'c19172aa6efa8fbacbdf4e201ea609f2')
26 [ "$CARCH" == "x86_64" ] && md5sums=('d3a3daa0887ac4859fdfa2b7ca7234bd'
27 'c19172aa6efa8fbacbdf4e201ea609f2')
30 cd "${srcdir}"/${_tmpname}
32 mkdir -p "${pkgdir}"/{lib,usr/share/{icons/${_tmpname},applications},usr/bin,usr/share/doc/${pkgname},}
33 cp -r lib/ "${pkgdir}"/
34 cp icons/* "${pkgdir}"/usr/share/icons/${_tmpname}/
35 cp ${_tmpname} "${pkgdir}"/usr/bin/
36 cp {${_tmpname}.manual,README,COPYING} "${pkgdir}"/usr/share/doc/${pkgname}/
37 cp "${startdir}"/quantz.desktop "${pkgdir}"/usr/share/applications/
38 sed -i "s/!ver!/${pkgver}-${pkgrel}/g" "${pkgdir}"/usr/share/applications/quantz.desktop