updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / dragonmemory / PKGBUILD
blob1fdd43524c9ea91d34d359660b75ae6261daa5d0
1 # Contributer: Rikles (style.boubou@gmail.fr)
2 pkgname=dragonmemory
3 pkgver=1.0
4 pkgrel=2
5 pkgdesc="Simple and fun memory game."
6 arch=('any')
7 url="http://dragontech.net/index.php/games-en"
8 license=('GPL')
9 depends=('sdl' 'sdl_mixer' 'sdl_image')
10 makedepends=('tar')
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')
18 build() {
19   tar -xf "${srcdir}/DragonMemory-${pkgver}.tgz"
22 package() {
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"