[pacman-dev] [PATCH] Compress hard linked man pages

Andrew Fyfe andrew at neptune-one.net
Tue Dec 4 19:15:45 EST 2007


Aaron Griffin wrote:
> Danke! It looks good to me. We don't have a testsuite for makepkg like
> we do for pacman, so do you happen to know any packages, offhand, that
> suffer from the hardlink issue, so that I can test this?

pkgname='hardlink_test'
pkgver='0.1'
pkgrel='1'
arch=('i686','x86_64')

build()
{
	cd "$pkgdir"

	for dir in usr usr/local opt/test; do
		mkdir -pv $dir/man/man1

		touch $dir/man/man1/foo.1
		ln -v $dir/man/man1/bar.1
	done
}

:p




More information about the pacman-dev mailing list