Re: Make pacman -Qc recognize NEWS
Reply #10 –
Fine.
This works for grep:
package() {
cd $pkgname-$pkgver
[[ -f NEWS ]] && {
cp NEWS ../..
#This will also work, but you have to concatenate them
#printf 'ChangeLog\0NEWS' | find -files0-from - -maxdepth 0 -exec cat {} > ../../NEWS \;
export changelog=NEWS
}
make DESTDIR="$pkgdir" install
}
And the code change is there for all to see without having to download the source. I'm looking at the pacman source, but that will take a while. Don't hold your breath. Marking this as solved.