1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: StaCk <proc.null at gmail dot com>
7 pkgdesc="A set of miscellaneous humorous manpages (don't take them too seriously!)."
9 url="http://debian.org/"
11 source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_$pkgver.orig.tar.gz
12 http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_$pkgver-5.diff.gz)
13 md5sums=('bed1deef82218d42fb230a2176a11ed4'
14 'd7bccce54fb400de443fe6ff15bba940')
19 patch -p0 -i ${pkgname}_$pkgver-5.diff || return 1
21 # Rename the manpages to man6
22 cd $pkgname-$pkgver.orig
23 for f in *.[0-57-9]fun ; do
24 mv $f ${f/.?fun/.6fun}
26 install -d $pkgdir/usr/share/man/man6/
27 install -m 644 *.6fun $pkgdir/usr/share/man/man6/
30 install -Dm 644 debian/copyright $pkgdir/usr/share/licenses/$pkgname/copyright