blob: 707bda12db15445d97704a5a573948ab385366b0 (
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: Jose Riha <jose1711 gmail com>
pkgname=tennis_elbow2013
pkgver=1.0i
pkgrel=1
pkgdesc="tennis game for all tennis lovers"
arch=('x86_64' 'i686')
url="http://www.managames.com/tennis/game_en.html"
license=('commercial')
install=tenniselbow.install
depends_i686=('libcurl-compat')
depends_x86_64=('lib32-libcurl-compat')
md5sums=('34da81391bb0f8c1e5189257bc789e36'
'2d523ddc828daca9895de69fa0098040'
'a8b9ec57a3152858b9f30c3f1a3e8efb'
'7b707060bbedad0ccbcc196fe2306942')
source=('http://www.managames.com/Files/TennisElbow2013-Linux.tar.gz' 'tennis_elbow2013' 'tenniselbow.desktop' 'tenniselbow.png')
prepare() {
cd $srcdir/TennisElbow2013
# fix by pix3l
sed -i 's@libcurl.so.4@libcurl.so.3@g' TennisElbow2013
}
package() {
cd $srcdir
mkdir -p $pkgdir/usr/{share,bin}
cp -r TennisElbow2013 $pkgdir/usr/share
install -Dm755 $srcdir/tennis_elbow2013 $pkgdir/usr/bin
install -Dm644 $srcdir/tenniselbow.desktop $pkgdir/usr/share/applications/tenniselbow.desktop
install -Dm644 $srcdir/tenniselbow.png $pkgdir/usr/share/pixmaps/tenniselbow.png
cd $pkgdir/usr/share/TennisElbow2013
chgrp -R games . Tennis.Ini Profiles
chmod -R g+w . Tennis.Ini Profiles
}
|