--- PKGBUILD.orig 2011-06-11 11:55:19.000000000 -0500 +++ PKGBUILD 2011-06-11 11:44:35.000000000 -0500 @@ -3,15 +3,16 @@ pkgname=shuffle pkgver=1.5 -pkgrel=2 +pkgrel=3 pkgdesc="Shuffles lines of input." arch=('i686' 'x86_64') url="http://www.w3.org/People/Bos/Shuffle/" license=('custom') depends=(glibc) makedepends=('gcc') -source=(http://www.w3.org/People/Bos/Shuffle/shuffle.c LICENSE) +source=(http://www.w3.org/People/Bos/Shuffle/shuffle.c http://www.w3.org/People/Bos/Shuffle/shuffle.1 LICENSE) md5sums=('d337c7e4db93489e3a30ffc8f89ec363' + 'a352ff446a3c20f7b6390add7918f21d' '9dafa5ef909b8a6db992bb8819d3832a') build() { @@ -19,5 +20,9 @@ gcc -o shuffle shuffle.c install -D -m 755 shuffle $pkgdir/usr/bin/shuffle install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + # man page + cat shuffle.1 | gzip >shuffle.1.gz + install -D -m 644 shuffle.1.gz $pkgdir/usr/share/man/man1/shuffle.1.gz }