1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD,v 1.12 2005/11/11 18:46:32 simo Exp $
# Maintainer: Jonathan Schaeffer <[email protected]>

pkgname=cgoban3
pkgver=3.5.9
pkgrel=1
pkgdesc="Kiseido Go and SGF client"
url="http://gokgs.com/"
arch=('any')
license=('Freeware')
depends=(desktop-file-utils bash)
install=cgoban3.install
source=(http://files.gokgs.com/javaBin/cgoban.jar cgoban3 cgoban3.desktop cgoban3.png cgoban3-edit.desktop)
noextract=(cgoban.jar)
md5sums=('2cdd7906c5ff0ccf06399f6278563765'
         'cc94fcad196a647d9eee76aed13731f9'
         '44003f5d37bc1f461ce4302264c1787d'
         '05251c9ce7d768f74a96f3a616213af2'
         '86d0258f323c6312d57dd41af87f3529')

build() {
  cd $startdir
  install -D -m644 src/cgoban.jar $startdir/pkg/usr/share/java/cgoban3/cgoban.jar
  install -D -m644 src/cgoban3.desktop $startdir/pkg/usr/share/applications/cgoban3.desktop
  install -D -m644 src/cgoban3-edit.desktop $startdir/pkg/usr/share/applications/cgoban3-edit.desktop
  install -D -m644 src/cgoban3.png $startdir/pkg/usr/share/pixmaps/cgoban3.png
  install -D -m755 src/cgoban3 $startdir/pkg/usr/bin/cgoban3
}