1 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
6 pkgdesc="Rollemup is a cross-platform pinball game that was originally made by LostBoys for the Dutch brewery Dommelsch."
8 url='http://happypenguin.org/show?Roll%20%27m%20Up'
9 license=('custom: "freeware"')
10 install=rollemup.install
11 if [ "$CARCH" = "x86_64" ]; then
12 depends=('lib32-libxext' 'lib32-libx11' 'lib32-glibc')
14 depends=('libxext' 'libx11' 'glibc')
16 source=("ftp://ftp.tw.freebsd.org/pub/ports/distfiles/Rollemup.tar.gz"
17 "ftp://ftp.chg.ru/pub/FreeBSD/ports/distfiles/rpm/i386/fedora/3/compat-libstdc++-8-3.3.4.2.i386.rpm"
21 md5sums=('00844bfc54a941f96f26213c9a16442a' 'bed3429452b6d1a392ba3e8f5f5a8687' '051169b15f6caf4f3b9e4f0da96247e0' '8409909fa66c6d6ff180ca4f176c835b' '5907eb9bbcdf1372f5038bb0e7308d44')
25 cd $srcdir || return 1
27 # Create Destination Directory
28 install -d $pkgdir/opt/RollemUp || return 1
30 # Installing an old forgotten lib to Roll'em Up lib folder.
31 mkdir $pkgdir/opt/RollemUp/lib || return 1
34 bsdtar -xvf compat-libstdc++-8-3.3.4.2.i386.rpm || return 1
35 install -m 0644 ${srcdir}/usr/lib/libstdc++.so.2.8.0 ${pkgdir}/opt/RollemUp/lib/libstdc++.so.2.8 || return 1
37 cd $srcdir || return 1
40 tar zxfv Rollemup.tar.gz || return 1
43 cp -r $srcdir/Rollemup/* $pkgdir/opt/RollemUp || return 1
46 install -D -m 644 $srcdir/RollemUp.png \
47 $pkgdir/usr/share/pixmaps/RollemUp.png || return 1
50 install -D -m 644 $srcdir/rollemup.desktop \
51 $pkgdir/usr/share/applications/rollemup.desktop || return 1
53 # Install Game Launcher
54 install -D -m 755 $srcdir/rollemup.launcher \
55 $pkgdir/usr/bin/rollemup || return 1
57 # Set groupship to :games
58 chown -R :games $pkgdir/opt/RollemUp || return 1
59 chmod -R g+rwX $pkgdir/opt/RollemUp || return 1