updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / hugo-if / PKGBUILD
blobcb41378d2aedb60e254f6380455f5d36d1b8973f
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=hugo-if
3 pkgver=3.1.03
4 pkgrel=2
5 pkgdesc="A system for developing and playing sophisticated computer adventure games (interactive fictions)."
6 arch=(i686 x86_64)
7 url="http://www.generalcoffee.com/hugo/gethugo.html"
8 license=('freeware')
9 depends=('ncurses')
10 optdepends=('gtk2')
11 makedepends=('gzip')
12 #groups=()
13 source=(http://mirror.ifarchive.org/if-archive/programming/hugo/source/hugov31_wxwin_source.tar.gz http://mirror.ifarchive.org/if-archive/programming/hugo/executables/hugov31_wxwin_linux.tar.gz http://www.ifarchive.org/if-archive/programming/hugo/library/hugolib.zip http://www.ifarchive.org/if-archive/programming/hugo/manuals/hugo_book.pdf)
14 md5sums=('656d0af7492d8e4937636dc246c87ae7' 'f5778914e9e70659060c0b647ca58100' '85ec331cc523c6a9921a02f6fdf1251c' '62a00df88414b71d0f68400623444107')
17 build() {
18   mkdir -p $pkgdir/usr/share/hugo/lib
19   mkdir -p $pkgdir/usr/bin
20   cd $srcdir/hugov3.1.03
21   make console
22   cp -fr $srcdir/hugov3.1.03/he $pkgdir/usr/share/hugo/
23   cp -fr $srcdir/hugov3.1.03/hd $pkgdir/usr/share/hugo/
24   cp -fr $srcdir/hugov3.1.03/hc $pkgdir/usr/share/hugo/
25   cp -fr $srcdir/hugov3.1.03/gtk2-static/hewx $pkgdir/usr/share/hugo/
26   ln -s /usr/share/hugo/he $pkgdir/usr/bin/hugo-if-e
27   ln -s /usr/share/hugo/hc $pkgdir/usr/bin/hugo-if-c
28   ln -s /usr/share/hugo/hd $pkgdir/usr/bin/hugo-if-d
29   ln -s /usr/share/hugo/hewx $pkgdir/usr/bin/hugo-if-ex
30   
31   unzip $srcdir/hugolib.zip -d $pkgdir/usr/share/hugo/lib
32   cp -fr $srcdir/../hugo_book.pdf $pkgdir/usr/share/hugo/