updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / freecol-unstable / PKGBUILD
blobd48afc93bd2d8ae917775ed95930fa4209cd4b66
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
3 # Contributor: TDY <tdy@gmx.com>
4 # Contributor: Nelson Menon <nelsonmenon@gmail.com insanatorium.wordpress.com>
5 pkgname=freecol-unstable
6 pkgver=0.10.0
7 pkgrel=1
8 pkgdesc="A turn-based strategy game based on Colonization (development version)"
9 arch=('x86_64' 'i686')
10 url="http://www.freecol.org/"
11 license=('GPL')
12 depends=('java-runtime')
13 source=(
14 #"http://downloads.sourceforge.net/freecol/freecol-$pkgver-alpha2.zip"
15         "fc.desktop"
16                                 "fc.sh")
17 md5sums=(
18 #'fa1f48a9a0cf55f2c827f6920c8b1370'
19          'b05847af7c8fcf2a9f58da1690e1aa4a'
20          '370816c5a96ebaedbe0c745e41088515')         
22 build() {
23   echo "Freecol-unstable is no longer publicly available"
24   return 
25   cd "$srcdir/freecol"
26   install -Dm644 FreeCol.jar "$pkgdir/usr/share/java/$pkgname/FreeCol.jar"
27   install -Dm644 FreeCol.pdf "$pkgdir/usr/share/doc/$pkgname/FreeCol.pdf"
28   install -Dm644 freecol.xpm "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
29   install -Dm644 ../fc.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
30   install -Dm755 ../fc.sh "$pkgdir/usr/bin/$pkgname"
31   cp -r data jars "$pkgdir/usr/share/java/$pkgname/"
32   find "$pkgdir/usr/share/java/$pkgname" -type d -exec chmod 755 '{}' \;
33   find "$pkgdir/usr/share/java/$pkgname" -type f -exec chmod 644 '{}' \;
35 # vim:set ts=2 sw=2 et: