updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / doukutsu-wine / PKGBUILD
blobba1697d25373fd258f276de75478233a09377e4e
1 # Maintainer: Absolosba <absolosba at gmail dot com>
2 pkgname=doukutsu-wine
3 pkgver=1.03
4 pkgrel=1
5 pkgdesc="The Windows version of Cave Story"
6 arch=('i686' 'x86_64')
7 url="http://www.cavestory.org/"
8 license=('freeware')
9 depends=('wine')
10 source=("http://shii.org/pixel/cavestory.zip"
11         "doukutsu-wine.desktop"
12         "doukutsu-wine-config.desktop"
13         "doukutsu.png"
14         "doukutsu-wine")
15 md5sums=('c1dc82ff36837e70c36f5a5b38aa7e70'
16          '8362f2b7c48a4dc7d05bf701d52fe508'
17          '936e72c2f3a37e13c10e6e813f565795'
18          'd73dee54b24f2ceb21a50e2c8f71da10'
19          '1c730418f28caec516262f3106a092ab')
20 build(){
21         cd "${srcdir}/cavestory" || return 11
22         install -dm755 ${pkgdir}/usr/share/{${pkgname},applications} || return 1
23         cp -r {data,Doukutsu.exe,DoConfig.exe} "${pkgdir}/usr/share/${pkgname}/" || return 1
24         install -Dm644 ${srcdir}/*.desktop "${pkgdir}/usr/share/applications/" || return 1
25         install -Dm644 "${srcdir}/doukutsu.png" "${pkgdir}/usr/share/pixmaps/doukutsu-wine.png" || return 1
26         install -Dm755 "${srcdir}/doukutsu-wine" "${pkgdir}/usr/bin/doukutsu-wine" || return 1