updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / poa / PKGBUILD
blob228c7c3c72f5e840cb74957961774363b8853d35
1 # Maintainer: David Zaragoza <david@zaragoza.com.ve>
2 pkgname=poa
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="PagesOfAdventure is a puzzle adventure in a strange world."
6 arch=('i686' 'x86_64')
7 url="http://pagesofadventur.sourceforge.net"
8 license=('GPL')
9 groups=()
10 depends=('libxxf86vm' )
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=
19 changelog=
20 source=('https://downloads.sourceforge.net/project/pagesofadventur/PagesOfAdventure%200.1/PagesOfAdventure-0.1-bin.tar.gz'
21         'poa.png'
22         'poa.desktop')
23 noextract=()
24 md5sums=('ea40fd7071536aee372e974914f7d516'
25          '06b2db9ed330147a02f5b95f5fab8363'
26          '60d62a371e07c552d132c8ea0f11d550')
28 #build() {
29     #Nothing to do
32 package() {
33   mkdir -p $pkgdir/opt $pkgdir/usr/bin
34   mv "$srcdir/PagesOfAdventure" $pkgdir/opt/poa
35   echo "cd /opt/poa;./pagesofadventure.sh" > $pkgdir/usr/bin/poa
36   chmod +x $pkgdir/usr/bin/poa
37   #ln -s /opt/poa/pagesofadventure.sh $pkgdir/usr/bin/poa
38   # Desktop icon
39   install -Dm644 $startdir/poa.png $pkgdir/usr/share/pixmaps/poa.png
40   install -Dm644 $startdir/poa.desktop $pkgdir/usr/share/applications/poa.desktop