1 # Contributor: Yumi Nanako <yumileroy [at] yahoo.com>
6 pkgdesc="Generates anagrams for a phrase supplied by the user, the words used in the anagram are taken from a specified dictionary which should contain one word per line (default:/usr/share/dict/words). Appears to be up to 10 times faster than wordplay, especially for longer phrases."
8 url="http://packages.ubuntu.com/jaunty/an"
11 source=(http://archive.ubuntu.com/ubuntu/pool/universe/a/an/${pkgname}_${pkgver}.orig.tar.gz
13 md5sums=('1f67775dd505a4bad7f891d6062da560' '5648a0ee5fdebb65cfc4a86d563d22f0')
17 patch -p0 -i an_0.95-1.diff
18 cd "$srcdir/${pkgname}-${pkgver}"
21 mkdir -p ${startdir}/pkg/usr/bin/
22 mkdir -p ${startdir}/pkg/usr/share/man/man6
23 install -s an ${startdir}/pkg/usr/bin/an
25 install -m 644 an.6.gz ${startdir}/pkg/usr/share/man/man6