1 ## Maintainter: Milos Pejovic <pejovic@gmail.com>
2 pkgname=sheepshaver-cvs
5 pkgdesc="An Open Source PowerPC MacOS run-time environment"
7 url="http://sheepshaver.cebix.net/"
10 makedepends=('cvs' 'expect' 'autoconf')
11 conflicts=('sheepshaver')
12 provides=('sheepshaver')
13 source=(http://sheepshaver.cebix.net/images/sheep.png
15 md5sums=('694e1efa81d9faf6dbd514938340c260'
16 '8fb9c2cce0c0b35fecc27b169db0514d')
18 _cvsroot=":pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix"
23 msg "Connecting to CVS server...."
24 expect -c "spawn cvs -d $_cvsroot login" -c 'expect "CVS password:"' -c 'send "anoncvs\r"' -c 'expect eof'
26 for _cvsmod in BasiliskII SheepShaver; do
27 if [ -d $_cvsmod/CVS ]; then
32 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
36 msg "CVS checkout done or server timeout"
37 msg "Starting make..."
43 ./autogen.sh --prefix=/usr --enable-sdl-audio --without-esd
49 cd "$srcdir/SheepShaver/src/Unix"
50 make DESTDIR="$pkgdir/" install
52 install -m644 "$srcdir/sheep.png" "$pkgdir/usr/share/SheepShaver"
54 install -D -m644 "$srcdir/SheepShaver.desktop" "$pkgdir/usr/share/applications/SheepShaver.desktop"
56 install -d -m 755 "$pkgdir/usr/share/doc/SheepShaver"
57 cd "$srcdir/SheepShaver/doc/Linux"
58 install -m644 *.html *.gif "$pkgdir/usr/share/doc/SheepShaver"