updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / pose / PKGBUILD
blobfa39ebaaf8c3171898bb7232ae9c628760f7fcf8
1 # Maintainer: Chuan Ji <jichuan89@gmail.com>
2 pkgname=pose
3 pkgver=3.5
4 _pkgver=3.5-r2
5 _dataver=3.5-r1
6 pkgrel=4
7 epoch=
8 pkgdesc='Palm OS Emulator'
9 arch=('i686' 'x86_64')
10 url='http://code.google.com/p/pose-mod/'
11 license=('GPL')
12 depends=('fltk')
13 makedepends=()
14 install=('pose.install')
15 source=("http://pose-mod.googlecode.com/files/pose-mod-$_pkgver.tar.gz"
16         "http://pose-mod.googlecode.com/files/pose-mod-data-$_dataver.tar.gz")
17 md5sums=('159336e0d39558f0b35cc9a5a0258629'
18          '23b44418f9aa90bca5bc7d25562d1762')
20 build() {
21   cd "$srcdir/pose-mod-$_pkgver/BuildUnix"
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd "$srcdir/pose-mod-$_pkgver/BuildUnix"
28   make DESTDIR="$pkgdir/" install
29   mkdir -p "$pkgdir/usr/share/pose"
30   cd "$srcdir/pose-mod-$_pkgver/ROMTransfer/Source"
31   cp ROM_Transfer.prc "$pkgdir/usr/share/pose"
32   install -m755 ROM_Transfer "$pkgdir/usr/bin/ROM_Transfer"
33   cp -r "$srcdir/pose-mod-data-$_dataver/"* "$pkgdir/usr/share/pose/"