1 # Contributor: Bill Powell <bill at billpowellisalive dot com>
6 pkgdesc="Rhyming dictionary for the console."
8 url="http://rhyme.sourceforge.net/"
10 depends=('gdbm' 'readline')
11 makedepends=('gcc' 'gcc-libs' 'make')
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
13 md5sums=('dd5d6b94d5881e411c86c9a6daabaa70')
16 cd "$srcdir/$pkgname-$pkgver/"
18 # Remove "-ltermcap" from Makefile.
19 # On my system, this library isn't needed, and breaks the compile.
21 sed -i -e "s/-ltermcap//" Makefile
25 # I have a feeling this isn't the standard way to build a directory
26 # structure; feel free to fix. :)
27 mkdir -p $pkgdir/usr/share/rhyme
28 mkdir -p $pkgdir/usr/bin
29 mkdir -p $pkgdir/usr/share/man/man1
30 make RHYMEPATH="$pkgdir/usr/share/rhyme" BINPATH="$pkgdir/usr/bin" MANPATH="$pkgdir/usr/share/man/man1" install