blob: ecffbe889869e91481a600ece58126b6bf234ddc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Alfonso Saaverda "Son Link" <sonlink.dourden@gmail.com>
pkgname=donkey-me
pkgver=1.0
pkgrel=3
pkgdesc="A Donkey Kong game whit some grafics themes ispired on clasicals movies like Star Wars, Indiana Jones, Alien, etc"
arch=('i686' 'x86_64')
url='http://www.bruneras.com/games_donkeyme.php'
license=('FREE')
depends=('zlib' 'openssl-1.0' 'openal' 'mesa')
if [ "$CARCH" = "x86_64" ]; then
depends+=('lib32-zlib' 'lib32-openssl-1.0' 'lib32-openal' 'lib32-mesa')
fi
arch=('x86_64' 'i686')
source=('https://www.dropbox.com/s/i6kw9tf6gu6lctw/donkeyme.zip?dl=0'
${pkgname}.png ${pkgname}.desktop)
md5sums=('10a72ea8500088f956ddbafe54586024'
'23360dd4e532bb12ba66d9d42185d7b3'
'1c4a5d81d3419308de06ffb4a0d6e99f')
package() {
cd ${srcdir}/donkeyme
mkdir -p ${pkgdir}/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /opt/donkeyme/ && ./runner" >> $pkgdir/usr/bin/$pkgname
chmod 755 $pkgdir/usr/bin/$pkgname
mkdir -p ${pkgdir}/opt/donkeyme/assets/
cp * -r ${pkgdir}/opt/donkeyme/
find "$pkgdir"/opt -type f -exec chmod 644 "{}" \;
find "$pkgdir"/opt -type d -exec chmod 755 "{}" \;
chmod a+x ${pkgdir}/opt/donkeyme/runner
mkdir -p ${pkgdir}/usr/share/icons
mkdir -p ${pkgdir}/usr/share/applications/
install -m 644 "${srcdir}/${pkgname}.png" ${pkgdir}/usr/share/icons
install -m 644 "${srcdir}/${pkgname}.desktop" ${pkgdir}/usr/share/applications
}
|