updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / randtype / PKGBUILD
blobd6becf41611d6c575d772c05427fb9b39e1e7094
1 # Contributor: Viliam Pucik < viliam dot pucik at gmail dot com >
2 pkgname=randtype
3 pkgver=1.13
4 pkgrel=1
5 pkgdesc="Randtype reads either standard input or text files and displays the output, character-by-character or line-by-line, at random intervals"
6 arch=('i686' 'x86_64')
7 url="http://bjk.sourceforge.net/randtype/"
8 license="GPL"
9 depends=('zlib')
10 makedepends=('gcc' 'make')
11 source=(http://sourceforge.net/projects/bjk/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
12 md5sums=('56ebbfbe399b2050954c0b0c6dd93652')
14 build() {
15         cd $srcdir/
16         tar xf download
17         cd $pkgname-$pkgver
19         make || return 1
20         mkdir -p $pkgdir/usr/share/man/man1
21         mkdir -p $pkgdir/usr/bin
23         install -p -m 0644 $pkgname.1.gz $pkgdir/usr/share/man/man1
24         install -ps -m 0755 $pkgname $pkgdir/usr/bin