1 # Contributer: Rikles (style.boubou@gmail.fr)
5 pkgdesc="Simple and fun memory game."
7 url="http://dragontech.net/index.php/games-en"
9 depends=('sdl' 'sdl_mixer' 'sdl_image')
11 source=(${pkgname} http://dragontech.net/index.php/games-en?file=tl_files/dragontech/Software/DragonMemory/DragonMemory-${pkgver}.tgz ${pkgname}.desktop ${pkgname}.png)
12 noextract=("DragonMemory-${pkgver}.tgz")
13 md5sums=('c6e76ec2dcbc0cb6f63aa280bf26e233'
14 'fb7d282fff66274357e50dd93f77a2e9'
15 '738056d30ff38083f588b5611cd5f5ac'
16 '69d4d37f7f8c9c2264f9bace31965b6e')
19 tar -xf "${srcdir}/DragonMemory-${pkgver}.tgz"
23 mkdir -p "${pkgdir}/usr/share/games/"
24 cp -r "${srcdir}/Dragon Memory" "${pkgdir}/usr/share/games"
25 install -D -m 755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
26 chmod 755 "${pkgdir}/usr/share/games/Dragon Memory/${pkgname}"
28 # Desktop launcher with icon
29 install -D -m 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
30 install -D -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"