1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: StaCk <proc.null at gmail dot com>
7 pkgdesc="A set of humorous manual pages developed on alt.sysadmin.recovery"
9 url="http://debian.org/"
11 source=(http://ftp.debian.org/debian/pool/main/a/$pkgname/${pkgname}_$pkgver.orig.tar.gz
12 http://ftp.debian.org/debian/pool/main/a/$pkgname/${pkgname}_$pkgver-6.diff.gz)
13 md5sums=('ee77b619e01a2d841a45469708d90631'
14 '9608fb9ee121a278bf4cac5fc6dae267')
20 patch -p0 -i ${pkgname}_$pkgver-6.diff || return 1
22 # Rename the manpages to man6 and deploy
23 install -d $pkgdir/usr/share/man/man6/
24 cd $pkgname-$pkgver.orig
25 for f in *.[0-57-9]fun ; do
26 mv $f ${f/.?fun/.6fun}
28 install -m 644 *.6fun $pkgdir/usr/share/man/man6/
31 install -Dm 644 debian/copyright $pkgdir/usr/share/licenses/$pkgname/copyright