updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xscrabble / PKGBUILD
blobadca2579c559fe7cb339af347973fa7867bf083a
1 # Contributor: pressh <pressh at gmail dot com>
3 pkgname=xscrabble
4 pkgver=2.12
5 pkgrel=2
6 pkgdesc="An X11 clone of the well-known Scrabble."
7 arch=('i686' 'x86_64')
8 depends=('libxaw' 'libxp')
9 makedepends=('imake')
10 url="http://hpux.cs.utah.edu/hppd/hpux/Games/Board/xscrabble-2.10/"
11 license=('GPL')
12 install=xscrabble.install
13 source=(ftp://ftp.ac-grenoble.fr/ge/educational_games/$pkgname-$pkgver.tar.bz2)
14 md5sums=('733e90def2c1d60c0c223f3a0c908db9')
16 build() {
17   mkdir -p $startdir/pkg/usr/bin
18   cd $startdir/src/$pkgname-$pkgver
19   ./build bin
20   install -c -s src/xscrab $startdir/pkg/usr/bin
21   install -c -s src/xscrabble $startdir/pkg/usr/bin
22   
23   # put the correct files in the config file and install it
24   sed -i 's/usr\/share\/games\/scrabble/usr\/share\/xscrabble/' XScrabble
25   install -Dm644 XScrabble $startdir/pkg/usr/share/X11/app-defaults/XScrabble