1 # Maintainer: Fisher Duan <steamedfish@njuopen.com>
2 # Maintainer: Vehicle Lee <imxifs@gmail.com>
7 pkgdesc="A Chinese board game, online version"
9 url="http://www.sanguosha.com/"
11 if [ "$CARCH" == "x86_64" ]; then
12 depends=('adobe-air' 'lib32-nss')
17 source=(http://web.sanguosha.com/2/air/SanGuoSha.air sanguosha sanguosha.desktop)
18 md5sums=('94571cec595a93f4795bbe979c844307'
19 'caadd6f792483aaf98202bb4d51481bb'
20 '5703da141c6edac3e4311f5023db3832')
25 install -d ${pkgdir}/{usr/{bin,share/{applications,icons/${pkgname}}},opt/${pkgname}}
27 #unzip SanGuoSha.air -d ${srcdir}/
29 install -Dm644 assets/icon/SGS32.png ${pkgdir}/usr/share/icons/${pkgname}/
30 install -Dm644 SanGuoSha.air ${pkgdir}/opt/${pkgname}/
32 install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/
33 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}