updated on Wed Jan 11 16:09:51 UTC 2012
[aur-mirror.git] / linapple / PKGBUILD
bloba2f5c909acea7d71f087eb8ffb22040daa06ad6f
2 # Contributor: Joseph R. Nosie <bolts at archlinux dot us>
3 pkgname=linapple
4 pkgver=1.1b
5 pkgrel=3
6 pkgdesc="Linapple is an emulator of Apple][ series computers for Linux or other POSIX-compliant systems."
7 arch=('i686' 'x86_64')
8 url="http://linapple.sourceforge.net"
9 license=('GPL')
10 depends=('sdl')
11 install=linapple.install
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-1.1beta/$pkgname-src$pkgver.tar.bz2
13         debug.patch
14         linapple.sh)
15 md5sums=('730ddeeba044ec04a8257f3b18e6010b'
16          '48d3a5b042005c85b8674a52501adafb'
17          'd142c61b6e941bc2d68a2089a2dae503')
19 build() {
20   cd "$srcdir/$pkgname-src_$pkgver/src"
21   patch -Np2 -i $srcdir/debug.patch || return 1
22   make || return 1
24   cd ..
25   mkdir -p $pkgdir/usr/bin
26   mkdir -p $pkgdir/usr/share/linapple/{bin,config/linapple}
28   install -m755 $srcdir/linapple.sh $pkgdir/usr/bin/linapple
29   install -m755 linapple $pkgdir/usr/share/linapple/bin/linapple
31   install -m644 applelin.bmp $pkgdir/usr/share/linapple/config/linapple/applelin.bmp
32   install -m644 charset40.bmp $pkgdir/usr/share/linapple/config/linapple/charset40.bmp
33   install -m644 font.bmp $pkgdir/usr/share/linapple/config/linapple/font.bmp
34   install -m644 icon.bmp $pkgdir/usr/share/linapple/config/linapple/icon.bmp
35   install -m644 linapple.conf $pkgdir/usr/share/linapple/config/linapple/linapple.conf
36   install -m644 Master.dsk $pkgdir/usr/share/linapple/config/linapple/Master.dsk
37   install -m644 README $pkgdir/usr/share/linapple/README
40 # vim:set ts=2 sw=2 et: