1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
6 pkgdesc="A game enabling you to contribute to important scientific research."
9 license=('custom: free to use')
10 install=foldit.install
11 source=('http://fold.it/portal/files/app/Foldit.tar.gz' 'foldit.desktop' 'foldit.png' 'foldit.sh')
13 if [[ "${CARCH}" = "x86_64" ]]; then
14 depends=('lib32-freeglut')
16 optdepends=('xclip: to enable copy-paste')
21 mkdir -p "${pkgdir}/usr/share/applications"
22 mkdir -p "${pkgdir}/usr/bin"
23 mkdir -p "${pkgdir}/usr/share/pixmaps"
24 mkdir -p "${pkgdir}/usr/share/games/foldit"
26 ##Remove the 0000.... version of files O_o, whats the reason for them?????????
27 rm -fr *00000000000000000000000000000000
29 cp -r * "${pkgdir}/usr/share/games/foldit/"
31 cp "${srcdir}/foldit.sh" "${pkgdir}/usr/bin/foldit"
32 cp "${srcdir}/foldit.desktop" "${pkgdir}/usr/share/applications/"
33 cp "${srcdir}/foldit.png" "${pkgdir}/usr/share/pixmaps/"
35 chown -R root:games "${pkgdir}/usr/share/games/foldit"
36 chmod -R g+w "${pkgdir}/usr/share/games/foldit"
37 chmod a+x "${pkgdir}/usr/bin/foldit"
40 md5sums=('300f3d5bca57e8b2201182ebeefe2258'
41 '3bf30a00e76d0b94f56210db1f54d1f8'
42 '8423004878fce17189954e7f067a1462'
43 '1ecb7cc8598dfab994919e06a03745b6')